How to Install/Upgrade latest subversion 1.9.2

We have already discussed about SVN installation and configuration, how to play with svn commands in our previous article, Here i’m going to show you how to install/upgrade latest version of subversion 1.9.2.

As we already knows, All the OS holding stable version of packages bit old and don’t have latest/upgraded stable packages. If you want to install recent stable version of packages, we should install from source but it could be create a problem later on stage when we want to upgrade. So, what we need to do ? We should get any third party repository which will maintain the software upto date but make sure some of the third party repository will make lots changes on base file while recompiling the packages. Its our own risk.

1) Checking current version of subversion

I’m going to check on my server which version of subversion is available for installation.

# Checking available version of subversion #
[email protected] :~$ yum list subversion mod_dav_svn
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.rafal.ca
 * epel: download.fedoraproject.org
 * extras: centos.mirror.rafal.ca
 * updates: centos.mirror.rafal.ca
Available Packages
subversion.i686                                   1.6.11-15.el6_7            updates
subversion.x86_64                                 1.6.11-15.el6_7            updates
mod_dav_svn.x86_64                                1.6.11-15.el6_7            updates

2) Adding svn (wandisco) repo

Thanks to wandisco to maintain latest svn repo for RHEL/CentOS/Fedora. Here is the link for wandisco svn repo. Here i’m going to add wandisco svn repo into my server to upgrade svn to latest version. Create wandisco-svn.repo file under /etc/yum.repos.d and add below lines based on your OS version.

# creating repo file #
[email protected] :~$ touch /etc/yum.repos.d/wandisco-svn.repo

# Adding svn (wandisco) repo for CentOS/RHEL 6 #
[email protected] :~$ nano /etc/yum.repos.d/wandisco-svn.repo
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/6/svn-1.9/RPMS/$basearch/
enabled=1
gpgcheck=0

3) Checking current version of subversion

I’m going to check on my server which version of subversion is available for installation.

# Checking available version of subversion #
[email protected] :~$ yum list subversion mod_dav_svn
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.westmancom.com
 * epel: download.fedoraproject.org
 * extras: centos.westmancom.com
 * rpmforge: repoforge.mirror.constant.com
 * updates: centos.westmancom.com
Installed Packages
mod_dav_svn.x86_64                               1.6.11-15.el6_7                                @updates
subversion.x86_64                                1.6.11-15.el6_7                                @updates
Available Packages
mod_dav_svn.x86_64                               1.9.2-1                                        WandiscoSVN
subversion.i686                                  1.6.11-15.el6_7                                updates
subversion.x86_64                                1.9.2-1                                        WandiscoSVN

Yes, now i got latest version os subversion 1.9.2 from wandisco snv repository.

4) Install/Upgrading subversion to 1.9.2

As we already got wandisco svn for subversion 1.9.2 and i’m going to upgrade now.

# Install subversion to 1.9.2 #
[email protected] :~$ yum install subversion mod_dav_svn

# Upgrading subversion to 1.9.2 #
[email protected] :~$ yum upgrade subversion mod_dav_svn

See the below screenshots, now i’m using latest version of subversion 1.9.2.
install-upgrade-subversion-1-9-2-1.png
That’s it now, will comes with some alternative package for svn. Please stay tune with 2daygeek to get latest LINUX Tips & Tricks…cool…)

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...