Tuesday, April 13, 2010

Getting Subversion 1.5.7 installed on Cent OS 4.8.

This is for my personal notes as I could not find a repo for yum that had Subversion 1.5.7. RPMForge has 1.4.6 currently for Cent OS 4. Also, this install is on Mediatemple's DV.

Search for current versions

rpm -qa | grep -i subversion

Returns something like the following:


subversion-1.4.6-0.2.el4.rf

Remove current versions

rpm -evf mod_dav_svn-1.4.6-0.2.el4.rf
rpm -evf subversion-1.4.6-0.2.el4.rf

Get new version and install

curl -O http://subversion.tigris.org/downloads/subversion-1.5.7.tar.gz
curl -O http://subversion.tigris.org/downloads/subversion-deps-1.5.7.tar.gz
tar xzvf subversion-1.5.7.tar.gz
tar xzvf subversion-deps-1.5.7.tar.gz
cd subversion-1.5.7
./configure --prefix=/usr/local --with-openssl=/usr/bin --with-ssl
make
make install

Make a hard link to the new location of svn fom our bin directory

ln /usr/local/bin/svn /usr/bin/svn

Check Version

[root@yodayoda]# svn --version
svn, version 1.5.7 (r36142)
   compiled Apr 13 2010, 14:25:56

No comments: