how do I install latest version of svn

after running the command

sudo apt-get install subversion

and checking the version of svn using command
svn --version

the version was 1.9. But the latest version is 1.11. How should I get the latest version.

3 Answers

Subversion 1.11 is not in Ubuntu yet.

You can give a look at the available PPAs but you may have to install 1.11 by hand if you need this version.

I had the same problem, so since nobody answered and I got it working. It might be helpful to share.

According to the binary packages page, you can get the 1.11.1 version from the WANdisco PPA. (It's not very obvious they have the newer version at first glance.) Although they send you the link to the install script by e-mail, you can find it in here.

Download the script and make it executable:

wget
chmod +x subversion_installer_1.11.sh

I upgraded successfully from the subversion 1.9.7 Ubuntu Server 18.04.2 package to 1.11.1.

One problem I had stumbled upon was a conflict between libapache2-svn and libapache2-mod-svn versions, so the upgrade couldn't continue. In my case, we don't use WebDAV, so I just removed/purged them both and upgraded subversion:

sudo apt-get remove libapache2-svn
sudo apt-get remove libapache2-mod-svn

Note that there are only 64-bit binaries:

svn --version
svn, version 1.11.1 (r1850623) compiled Jun 17 2019, 17:51:58 on x86_64-pc-linux-gnu

First, try to update the packages using the following command:

sudo apt-get update

then Install using these following commands

sudo apt-get install subversion
sudo apt-get install libapache2-mod-svn

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like