Centos – Upgrade Subversion 1.6 to 1.7 on CentOS? (can’t find yum repository)

centossvnyum

I want to upgrade my SVN Server from 1.6 to 1.7. Unfortunately I can't find anything on the internet how to do this with yum. I have checked rpmforge-extras but it has only svn 1.6 and not 1.7

I wanted to update with yum because this is the most secure way for me. I'm not an experienced Linux user.

Is there a yum repository that contains 1.7 (subversion.x86_64 0:1.7.xxxxx.el5.rfx)?

If there is none, perhaps a short explanation how to update with just step by step.

Best Answer

You could just build from the sources.

The following worked for me (although you may not want to do the update or install every package in "Development tools" and "Additional Development"):

sudo yum update
sudo yum groupinstall "Development tools"
sudo yum groupinstall "Additional Development"
wget https://archive.apache.org/dist/subversion/subversion-1.7.8.tar.gz
tar zxvf subversion-1.7.8.tar.gz
cd subversion-1.7.8
./get-deps.sh
./configure
make
make check
sudo make install

On my system this seems to put the binary in /usr/local/bin/svn whereas the 1.6 binary is in /usr/bin/svn so you might need set up an alias.