Svn – How to install SVN client version 1.8 on CentOS/RHEL 6

centos6rhel6svn

I'm trying to install the SVN client version 1.8 on CentOS 6. I'm using the description on

http://tecadmin.net/install-subversion-1-8-on-centos-rhel/

All activities are running successful without any problems. But after that I get

/> svn --version
svn, Version 1.6.11 (r934486)
...
...
...

Best Answer

The steps decribed on the following site works for me:

http://snowdream.github.io/blog/centos/2013/11/08/how-to-install-subversion-18-on-centos-64/

From the article:

How to install subversion 1.8 on CentOS 6.4

If you get the error like "This client is too old to work with working copy" when you use svn client, it means you need a newer svn client. Let us update the svn client on CentOS 6.4 now.

  1. Remove the old version subversion

    yum remove subversion
    
  2. Download and install subversion 1.8.4-2

    mkdir download && cd download
    
    wget -c http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/i686/mod_dav_svn-1.8.4-2.i686.rpm
    wget -c http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/i686/serf-1.3.2-2.i686.rpm
    wget -c http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/i686/subversion-1.8.4-2.i686.rpm
    wget -c http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/i686/subversion-gnome-1.8.4-2.i686.rpm
    wget -c http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/i686/subversion-javahl-1.8.4-2.i686.rpm
    wget -c http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/i686/subversion-perl-1.8.4-2.i686.rpm
    wget -c http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/i686/subversion-python-1.8.4-2.i686.rpm
    wget -c http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/i686/subversion-tools-1.8.4-2.i686.rpm
    
    sudo rpm -ivh *.rpm
    
  3. Check

    svn --version
    

If the subversion is successfully installed,you can see the following:

svn, version 1.8.4 (r1534716)
  compiled Nov  1 2013, 15:45:40 on i686-pc-linux-gnu

Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/