Subversion installation script

January 20, 2008

echo

echo Sample Subversion installation program for Mac OS X

echo by JanakiRam, October 11th, 2007

echo

echo Download source files:

cd ~/Desktop

curl -O http://subversion.tigris.org/downloads/subversion-1.4.5.tar.gz

echo Extract the zip archive:

tar xvfz subversion-1.4.5.tar.gz

cd subversion-1.4.5

echo Compile the source code:

./configure –prefix=/usr/local \

–mandir=/usr/local/share/man –with-ssl \

–with-apxs=/usr/local/apache2/bin/apxs –with-zlib \

–enable-swig-bindings=no –without-berkeley-db \

–with-apr=/usr/local/apache2 \

–with-apr-util=/usr/local/apache2

echo Run the make command, and then run the sudo make install command:

make

sudo make install

echo Add the /usr/local/bin path to your profile:

cd ~

echo ‘export PATH=”$PATH:/usr/local/bin”‘ >> .bash_profile

echo All done — Subversion installation successfully completed!

Blogged with Flock

Tags: