Facebook X (Twitter) Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook X (Twitter) Instagram
    TecAdmin
    You are at:Home»Linux Tutorials»How to Install Subversion (SVN) 1.9 on CentOS/RHEL 7/6/5

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

    By RahulDecember 19, 20172 Mins Read

    Thanks to WANdisco, which is maintaining the rpm packages for latest Subversion version. This article will help you to install subversion 1.9 ( 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.9/RPMS/$basearch/
    enabled=1
    gpgcheck=0
    

    Step 2 – Install Subversion 1.9

    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 Subversion 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.9.7 (r1800392)
       compiled Aug 10 2017, 21:36:06 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 (compiled with 1.3.7)
      - handles 'http' scheme
      - handles 'https' scheme
    
    The following authentication credential caches are available:
    
    * Plaintext cache in /root/.subversion
    * Gnome Keyring
    * GPG-Agent
    

    References:

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

    subversion Subversion 1.9 svn SVN 1.9
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Understanding the LD_LIBRARY_PATH Environment Variable

    The Beginner’s Guide to Building Your First RPM Package

    The Beginner’s Guide to Building Your First Debian Package

    View 6 Comments

    6 Comments

    1. mica on August 13, 2020 1:48 am

      For Amazon Linux 2 anyway, before attempting this, you need to temporarily set enabled = 0 in:

      /etc/yum/pluginconf.d/priorities.conf

      Remember to set it back as soon as you’re done!

      Reference:
      https://serverfault.com/questions/312472/what-does-that-mean-packages-excluded-due-to-repository-priority-protections

      Reply
    2. Ethan Brown on February 21, 2019 8:31 pm

      Similar to Duncan’s post, I had to replace with:
      baseurl=http://opensource.wandisco.com/centos/7/svn-1.10/RPMS/

      Reply
    3. Duncan Russell on June 6, 2018 10:14 am

      The URL given includes a $releasever part, that resolves on newer Redhat installs to 7workstation and 6server etc, whilst the WandiscoSVN server is only using the 7 or the 6.

      So replace

      baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.9/RPMS/$basearch/ with

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

      Reply
    4. Ashwin on September 7, 2017 5:29 am

      One of the configured repositories failed (Wandisco SVN Repo),
      and yum doesn’t have enough cached data to continue. At this point the only
      safe thing yum can do is fail. There are a few ways to work “fix” this:

      And the two options are not going to help me get the 1.9 version.

      Reply
    5. Aleksandar Pavic on August 31, 2016 7:09 am

      To actually install it you need to disable other repos, and install svn with this command:

      yum –disablerepo=”*” –enablerepo=”WandiscoSVN” install subversion

      Reply
    6. Mauricio Oña on January 25, 2016 8:36 pm

      failure: repodata/repomd.xml from WandiscoSVN: [Errno 256] No more mirrors to try.
      http://opensource.wandisco.com/centos/7Server/svn-1.9/RPMS/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found
      [root@portalpruebas var]# failure: repodata/repomd.xml from WandiscoSVN: [Errno 256] No more mirrors to try.
      bash: failure:: comando no encontrado…

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Difference Between Full Virtualization vs Paravirtualization
    • Virtualization vs. Containerization: A Comparative Analysis
    • Using .env Files in Django
    • Using .env File in FastAPI
    • Setting Up Email Notifications for Django Error Reporting
    Facebook X (Twitter) Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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