Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Tutorials»How to Install Subversion (SVN) 1.8.19 on CentOS/RHEL 7/6/5

    How to Install Subversion (SVN) 1.8.19 on CentOS/RHEL 7/6/5

    RahulBy RahulFebruary 1, 20152 Mins ReadUpdated:December 19, 2017

    Thanks to WANdisco, which is maintaining the rpm packages for latest Subversion version. This article will help you to install Subversion 1.8.19 (SVN Client) on CentOS/RHEL 7/6/5 Systems. If you want to configure Subversion server visit this article.

    Step 1 – Setup Yum Repository

    Firstly we need to configure yum repository on our system. Create a new repo file /etc/yum.repos.d/wandisco-svn.repo and add following content as per your operating system version.

    vim /etc/yum.repos.d/wandisco-svn.repo
    
    [WandiscoSVN]
    name=Wandisco SVN Repo
    baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.8/RPMS/$basearch/
    enabled=1
    gpgcheck=0
    

    Step 2 – Install Subversion Package

    Before installing latest package remove existing subversion packages from system to remove the conflict.

    yum remove subversion*
    

    Now install latest available Subversion package using yum command line package manager utility.

    yum clean all
    yum install subversion
    

    Step 3 – Verify SVN Version

    At this stage, you have successfully install Subversion client on your system. Let’s use the following command to verify the version of svn client.

    svn --version
    
    svn, version 1.8.19 (r1800620)
       compiled Aug 11 2017, 09:34:52 on x86_64-redhat-linux-gnu
    
    Copyright (C) 2017 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/
    
    The following repository access (RA) modules are available:
    
    * ra_svn : Module for accessing a repository using the svn network protocol.
      - with Cyrus SASL authentication
      - handles 'svn' scheme
    * ra_local : Module for accessing a repository on local disk.
      - handles 'file' scheme
    * ra_serf : Module for accessing a repository via WebDAV protocol using serf.
      - using serf 1.3.7
      - handles 'http' scheme
      - handles 'https' scheme
    

    References:
    1. http://opensource.wandisco.com/

    install svn subversion svn svn repository
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Change Timezone on Ubuntu 18.04 & 16.04 LTS
    Next Article How to Optimize NGINX to Handle 100+K Requests per Minute

    Related Posts

    What is the /etc/aliases file

    2 Mins Read

    What is the /etc/nsswitch.conf file in Linux

    2 Mins Read

    How to Setup Squid Proxy Server on Ubuntu and Debian

    Updated:June 17, 20225 Mins Read

    How to Delete a Let’s Encrypt Certificate using Certbot

    Updated:June 3, 20222 Mins Read

    How to Install Latest Git on Ubuntu 22.04

    Updated:May 31, 20222 Mins Read

    How To Install LibreOffice on Ubuntu 22.04

    Updated:May 23, 20222 Mins Read

    21 Comments

    1. legionar on October 2, 2019 6:18 am

      I tried, but it did not work for me:

      –> Finished Dependency Resolution
      Error: Package: subversion-1.8.19-1.x86_64 (WandiscoSVN)
      Requires: apr >= 1.2.7
      Error: Package: serf-1.3.7-1.x86_64 (WandiscoSVN)
      Requires: libapr-1.so.0()(64bit)
      Error: Package: serf-1.3.7-1.x86_64 (WandiscoSVN)
      Requires: libaprutil-1.so.0()(64bit)
      Error: Package: subversion-1.8.19-1.x86_64 (WandiscoSVN)
      Requires: libaprutil-1.so.0()(64bit)
      Error: Package: subversion-1.8.19-1.x86_64 (WandiscoSVN)
      Requires: libapr-1.so.0()(64bit)
      Error: Package: subversion-1.8.19-1.x86_64 (WandiscoSVN)
      Requires: apr-util >= 1.2.7
      You could try using –skip-broken to work around the problem
      You could try running: rpm -Va –nofiles –nodigest

      Reply
    2. Uday on October 12, 2017 7:44 am

      Is SVN 1.6.12 compatible with RHEL7 as we are upgrading the Linux servers from RedHat5 to 7.
      Please let me know the possibilities and dependencies.

      Reply
    3. Pradeep on July 31, 2017 4:49 pm

      Please provide steps to configure the subversion 1.8.x.

      Reply
    4. Margaret on July 8, 2016 10:31 pm

      I am working on an upgrade from subversion 1.6 to 1.8.15. The reason for not going to the latest version, is that the file format of 1.8.15 is still compatible with 1.6. I have the subversion 1.8.15 installed on a new server and transferred the repositories from the current production server to this new server. Then I tried to issue the command ‘svn cleanup’ in the directoy subv_repos where the repositories stored, I got the error
      ‘/subv_repos’ is not a working copy directory
      can anyone advise? thanks.

      Reply
    5. JosemarSilva on June 2, 2016 8:57 pm

      It works!

      Reply
    6. Bar on April 22, 2016 5:37 pm

      Hi,

      after installing subversion, successfully, I am trying to install mod_dav_svn and getting:

      Error: Package: apr-util-pgsql-1.5.3-2.WANdisco.8.x86_64 (WandiscoSVN)
      Requires: libpq.so.4()(64bit)

      any help would be very appreciated

      Reply
    7. magicsign on January 26, 2016 2:39 pm

      When I try to install subversion I get the following :

      yum install subversion
      Setting up Install Process
      : [Errno 14] PYCURL ERROR 6 – “Couldn’t resolve host ‘opensource.wandisco.com'”
      Trying other mirror.
      Error: Cannot retrieve repository metadata (repomd.xml) for repository: WandiscoSVN. Please verify its path and try again

      Anyone had the same issue ?

      Reply
      • john on February 2, 2016 5:37 pm

        Seems like your network is unable access the wandisco host. Are you behind a firewall?
        If you are behind a firewall try to open the access to the wandisco host. If not possible do the manual setup like download the binaries subversion,httpd, svn-dav-module and compile them manually. It is pretty easy you can google for the setup process for each binary.

        Reply
      • Mark on March 8, 2016 3:15 pm

        For anybody else looking the reason for this is the server identifying itself as 6Server (or 7Server in my case), but the mirror only has the version number 6 or 7. I changed the repo configuration entry for mine to this:

        baseurl=http://opensource.wandisco.com/centos/7/svn-1.8/RPMS/$basearch/

        Reply
    8. Oscar on October 30, 2015 4:04 pm

      Gracias!! funciono perfecto!

      Reply
    9. Waseem Sindhu on October 22, 2015 12:18 pm

      Thanks, I spent almost 4 hours trying other suggestions and then came across this, I guess all will be working fine but now I’ll need to test the installation.

      Reply
    10. Spidey on September 14, 2015 9:51 pm

      Thanks for the tutorial. I installed it on an Oracle Linux 6.6 machine without any problems.

      Reply
    11. Martin Plascencia on May 13, 2015 12:31 am

      Hey! Thank you very much!

      You saved me. I was trying to upgrade Subversion for a few days with no luck. And the thing was getting annoying because my SVN client was not able to commit to an outdated Subversion server.

      I really appreciate it.

      Reply
    12. ferdy on April 20, 2015 1:01 pm

      I can’t install subversion according to your howto. A dependency could’nt be satisfied:

      [[email protected] /]# cat /etc/centos-release
      CentOS Linux release 7.1.1503 (Core)
      [[email protected] /]#

      Resolving Dependencies
      –> Running transaction check
      —> Package subversion.x86_64 0:1.8.11-1 will be installed
      –> Processing Dependency: apr-util >= 1.2.7 for package: subversion-1.8.11-1.x86_64
      –> Processing Dependency: apr >= 1.2.7 for package: subversion-1.8.11-1.x86_64
      –> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.8.11-1.x86_64
      –> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.8.11-1.x86_64
      –> Processing Dependency: libserf-1.so.0()(64bit) for package: subversion-1.8.11-1.x86_64
      –> Running transaction check
      —> Package apr.x86_64 0:1.4.8-3.el7 will be installed
      —> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
      —> Package subversion.x86_64 0:1.8.11-1 will be installed
      –> Processing Dependency: libserf-1.so.0()(64bit) for package: subversion-1.8.11-1.x86_64
      –> Finished Dependency Resolution
      Error: Package: subversion-1.8.11-1.x86_64 (WandiscoSVN)
      Requires: libserf-1.so.0()(64bit)
      You could try using –skip-broken to work around the problem
      You could try running: rpm -Va –nofiles –nodigest

      Reply
      • Rahul on April 21, 2015 2:59 am

        Hi Ferdy,

        Please enable EPEL repo on your system and try to install again.

        http://tecadmin.net/install-epel-and-remi-repository-on-centos-and-redhat/

        Reply
        • Hmf on August 14, 2015 3:23 pm

          Enabling EPEL did not help. Still the same error as ferdy on my RHEL7.

          Reply
    13. Marc on April 17, 2015 8:14 am

      Thanks, that helped. So simple.

      Reply
    14. Keith on March 20, 2015 1:49 am

      You should also exclude the older versions of subversion in the CentOS base yum repo by adding

      exclude=subversion*

      to your base.repo file under /etc/yum.repos.d.

      Reply
    15. Martin on December 4, 2014 1:00 pm

      Thank you! At last, a method that works!!

      Reply
    16. Rade on December 2, 2014 10:15 am

      Excellent guide. Thanks!

      Reply
    17. Mat on December 1, 2014 3:28 pm

      Thanks ! It was helpfull for me, I couldn’t find a way to install the latest version of SVN on Centos 5.3.

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How To Install Docker on Ubuntu 22.04
    • How to Install Bower on Ubuntu 22.04 & 20.04
    • How to run “npm start” through Docker
    • Filesystem Hierarchy Structure (FHS) in Linux
    • How to accept user input in Python
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.