In this tutorial,we will install subversion 1.8 on Ubuntu using apt.We have done this practical in Ubuntu 13.04 and 13.10 version.Generally when you install subversion by using command apt-get install subversion
,it will install the subversion 1.7 .Here we will add the new apt source list for subversion 1.8 .
Description:
Operating System : Ubuntu 13.04,13.10,12.10 and 12.04 LTS
Package Name : Subversion 1.8
To install subversion 1.8 in Ubuntu,follow the given below steps
Step 1: Open the terminal and use below given command to add subversion repo in new file subversion18.list at path /etc/apt/sources.list.d.
sudo sh -c 'echo "deb http://opensource.wandisco.com/ubuntu precise svn18" >> /etc/apt/sources.list.d/subversion18.list' sudo wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add - sudo apt-get update
Step 2 : Now install the subversion 1.8 version after checking in apt-cache
sudo apt-cache show subversion | grep '^Version:'
Below given is the reference from our system
linux@tuxworld:~$ sudo apt-cache show subversion | grep ‘^Version:’
Version: 1.8.5-1+WANdisco
Version: 1.7.5-1ubuntu2.1
Version: 1.7.5-1ubuntu2
linux@tuxworld:~$
Now install subversion by below given command
sudo apt-get install subversion
Step 3: Now verify the subversion
sudo dpkg -l|grep subversion
svn --version
Below given is reference from our system
linux@tuxworld:~$ sudo dpkg -l|grep subversion
ii subversion 1.8.5-1+WANdisco i386 Advanced version control system
linux@tuxworld:~$linux@tuxworld:~$ svn –version
svn, version 1.8.5 (r1542147)
compiled Nov 19 2013, 15:29:52 on i686-pc-linux-gnuCopyright (C) 2013 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.2
– handles ‘http’ scheme
– handles ‘https’ schemelinux@tuxworld:~$
Will this work too for upgrading an existing (and used) 1.7 version?
.. using apt-get upgrade afterward, instead apt-get install?
many thx in advance
-B
Hello Brian,
It should work. Try once.
Given below is man page info for apt-get command –
upgrade
upgrade is used to install the newest versions of all packages
currently installed on the system from the sources enumerated in
/etc/apt/sources.list. Packages currently installed with new
versions available are retrieved and upgraded; under no
circumstances are currently installed packages removed, or packages
not already installed retrieved and installed. New versions of
currently installed packages that cannot be upgraded without
changing the install status of another package will be left at
their current version. An update must be performed first so that
apt-get knows that new versions of packages are available.
Regards
Sharad
Hello Brian,
You can try , there is no harm 🙂
Regards
Sharad
Thanks 🙂 It saved me a lot of time. Its so relevant to my need.Keep blogging.
Thanks Ajay,
Keep visit to our blog and share the knowledge.
Regards
Sharad
Thanks for this tutorial. Very catchy to read.
Thankyou Phil,
Keep reading the blog
Thanks and Regards
Sharad
Hi Sharad
Further to my last email, it works if you run the wget command as “sudo”.
You may want to update your instructions…
Cheers
Craig
Hello Craig,
Thankyou for heads up. I really appreciate.
I will cross check again this practical
Regards
Sharad
Yes,it was typo.I missed to put sudo before wget command.
Typo has corrected now.
Thankyou Craig.
Hi Sharad
Thanks very much for this. This is just what I was looking for.
However…
When I execute
wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add –
I get
gpg: no valid OpenPGP data found
I am using Ubuntu 12.04 LTS
Any ideas?
Thanks
Craig