How to Install and Configure Subversion 1.8.11 on CentOS/RHEL

SVN – Subversion is a versioning and revision control system used by developers to track and keep up earlier versions of their source codes. If you want to configure Subversion server visit this article

subversion.

In this article we can see how to setup svn server on centos.

Step 1: Setup Repository

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

For CentOS/RHEL 7 Users:
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/7/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0

For CentOS/RHEL 6 Users:
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0

For CentOS/RHEL 5 Users:
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/5/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0

Step 2: Install Subversion Package

After adding WandiscoSVN repository, install subversion (svn client) using following command:

# yum clean all
# yum install subversion

Note: In case If you get any conflict error then first remove old subversion package.

# yum remove subversion

Step 3: Verify Subversion Version

After successfully installation of subversion, Lets verify the version using following command:

svn --version
"svn, version 1.8.11 (r1643975)
   compiled Jan 30 2015, 13:21:57 on x86_64-redhat-linux-gnu

Copyright (C) 2014 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

Related Articles:
How to upgrade SVN Client on CentOS/RHEL

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.