Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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)

I hope somebody can help me out?

If there is non, perhaps a short explenation how to update with just step by step.

share|improve this question

migrated from stackoverflow.com Nov 17 '11 at 22:26

This question came from our site for professional and enthusiast programmers.

add comment

4 Answers 4

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 http://apache.mirrors.timporter.net/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.

share|improve this answer
add comment

This seems to be a solution http://www.wandisco.com/subversion/download#centos I haven't tried it but it is officially supported http://subversion.apache.org/packages.html#centos

share|improve this answer
1  
"Officially supported"? What do you mean by that? From the top of that page: "The Apache Subversion project does not officially endorse or maintain any binary packages of the Subversion software." –  rakslice Feb 2 '12 at 18:12
    
I simply mean that it is mentioned on apache.org and not a back water project that no one know about. –  Andreas Wederbrand Feb 3 '12 at 9:13
2  
The WANdisco packages are supported in that we have compiled and fully tested them before release, and we are around to help on the SVN forum (svnforum.org/forum.php) if needed. –  Mand Beckett Jul 19 '12 at 18:40
add comment

You can download the binary packages from our website here.

Alternatively you can use uberSVN, which supports 1.6.18 and 1.7.5, along with all the other stuff you need to get up and running (Apache, Tomcat, user admin etc).

share|improve this answer
add comment

I used the rpmforge repository: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

After having installed the rpm-forge package, I installed subversion 1.7 by issuing this command:

sudo yum install --enablerepo=rpmforge-extras subversion

Completely painless upgrade.

share|improve this answer
    
You might need to install rpmforge repository. You can do it using this guide: wiki.centos.org/AdditionalResources/Repositories/RPMForge. I wasn't able to download the rpmforge's .rpm package from using wget for some reason and had to use browser. –  izogfif Jan 16 at 14:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.