How to Install Subversion 1.6.17 on CentOS 5.5 Server

Share this Article :

As mentioned in the previous post, Subversion is a open source version control system that will manages files and will keep the changes made to the files. Subversion 1.6.17 has been released on 1st June 2011.For those who have installed subversion 1.6.16, they can simply upgrade the version to subversion 1.6.17. Make sure you have backup the repository before run manual upgrade which mean uninstall the old version and install the latest version.

Prerequisite : How to Install Apache Httpd Web Server on Linux

To install the subversion, follow below steps:

1. Download the latest subversion rpm packages :

[[email protected] ~]# wget http://opensource.wandisco.com/centos/5/RPMS/i386/mod_dav_svn-1.6.17-1.i386.rpm http://opensource.wandisco.com/centos/5/RPMS/i386/subversion-1.6.17-1.i386.rpm http://opensource.wandisco.com/centos/5/RPMS/i386/subversion-devel-1.6.17-1.i386.rpm http://opensource.wandisco.com/centos/5/RPMS/i386/subversion-perl-1.6.17-1.i386.rpm http://opensource.wandisco.com/centos/5/RPMS/i386/subversion-python-1.6.17-1.i386.rpm http://opensource.wandisco.com/centos/5/RPMS/i386/subversion-tools-1.6.17-1.i386.rpm
--2011-07-09 22:43:25-- http://opensource.wandisco.com/centos/5/RPMS/i386/mod_dav_svn-1.6.17-1.i386.rpm
Resolving opensource.wandisco.com... 212.7.198.163
Connecting to opensource.wandisco.com|212.7.198.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 80073 (78K) [application/x-redhat-package-manager]
Saving to: `mod_dav_svn-1.6.17-1.i386.rpm'

100%[================================================>] 80,073 37.3K/s in 2.1s

2011-07-09 22:43:28 (37.3 KB/s) - `mod_dav_svn-1.6.17-1.i386.rpm' saved [80073/80073]

--2011-07-09 22:43:28-- http://opensource.wandisco.com/centos/5/RPMS/i386/subversion-1.6.17-1.i386.rpm
Reusing existing connection to opensource.wandisco.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 2197278 (2.1M) [application/x-redhat-package-manager]
Saving to: `subversion-1.6.17-1.i386.rpm'

100%[================================================>] 2,197,278 9.69K/s in 2m 50s

2011-07-09 22:46:18 (12.6 KB/s) - `subversion-1.6.17-1.i386.rpm' saved [2197278/2197278]

--2011-07-09 22:46:18-- http://opensource.wandisco.com/centos/5/RPMS/i386/subversion-devel-1.6.17-1.i386.rpm
Reusing existing connection to opensource.wandisco.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 3413350 (3.3M) [application/x-redhat-package-manager]
Saving to: `subversion-devel-1.6.17-1.i386.rpm'

100%[================================================>] 3,413,350 11.1K/s in 5m 18s

2011-07-09 22:51:37 (10.5 KB/s) - `subversion-devel-1.6.17-1.i386.rpm' saved [3413350/3413350]

--2011-07-09 22:51:37-- http://opensource.wandisco.com/centos/5/RPMS/i386/subversion-perl-1.6.17-1.i386.rpm
Reusing existing connection to opensource.wandisco.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 1106258 (1.1M) [application/x-redhat-package-manager]
Saving to: `subversion-perl-1.6.17-1.i386.rpm'

100%[================================================>] 1,106,258 9.18K/s in 2m 4s

2011-07-09 22:53:42 (8.71 KB/s) - `subversion-perl-1.6.17-1.i386.rpm' saved [1106258/1106258]

--2011-07-09 22:53:42-- http://opensource.wandisco.com/centos/5/RPMS/i386/subversion-python-1.6.17-1.i386.rpm
Reusing existing connection to opensource.wandisco.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 1289255 (1.2M) [application/x-redhat-package-manager]
Saving to: `subversion-python-1.6.17-1.i386.rpm'

100%[================================================>] 1,289,255 7.12K/s in 2m 26s

2011-07-09 22:56:08 (8.60 KB/s) - `subversion-python-1.6.17-1.i386.rpm' saved [1289255/1289255]

--2011-07-09 22:56:08-- http://opensource.wandisco.com/centos/5/RPMS/i386/subversion-tools-1.6.17-1.i386.rpm
Reusing existing connection to opensource.wandisco.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 392647 (383K) [application/x-redhat-package-manager]
Saving to: `subversion-tools-1.6.17-1.i386.rpm'

100%[================================================>] 392,647 14.4K/s in 34s

2011-07-09 22:56:43 (11.3 KB/s) - `subversion-tools-1.6.17-1.i386.rpm' saved [392647/392647]

FINISHED --2011-07-09 22:56:43--
Downloaded: 6 files, 8.1M in 13m 15s (10.4 KB/s)

2. Install the rpm packages :

[[email protected] ~]# rpm -Uvh mod_dav_svn-1.6.17-1.i386.rpm subversion-tools-1.6.17-1.i386.rpm subversion-python-1.6.17-1.i386.rpm subversion-perl-1.6.17-1.i386.rpm subversion-devel-1.6.17-1.i386.rpm subversion-1.6.17-1.i386.rpm
warning: mod_dav_svn-1.6.17-1.i386.rpm: Header V4 DSA signature: NOKEY, key ID 3bbf077a
Preparing... ########################################### [100%]
1:subversion ########################################### [ 17%]
2:subversion-devel ########################################### [ 33%]
3:subversion-perl ########################################### [ 50%]
4:mod_dav_svn ########################################### [ 67%]
5:subversion-tools ########################################### [ 83%]
6:subversion-python ########################################### [100%]

3. Check and verify the subversion version using below command :

[[email protected] ~]# svn --version
svn, version 1.6.15 (r1038135)
   compiled Jan 15 2011, 23:26:01

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.apache.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - 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.
  - handles 'http' scheme
  - handles 'https' scheme

Complete installation : Complete Installation of Subversion


One Response

Leave a Reply