Skip to main content

Installing Subversion 1.3.2 using Backports on Debian (Sarge) Linux

Following on from my previous posts about installing Subversion from source, here are some notes on how to do it using backported Debian packages.

Add the following lines to your sources.list file in /etc/apt:

# backports
deb sarge-backports main contrib non-free

Update your Apt sources list:

apt-get update

Uninstall any old Subversion packages:

apt-get remove subversion
apt-get remove libsvn0

Install Subversion with 1.3.2 as a specific version (this causes the backported version to override the stable version):

apt-get install libsvn0=1.3.2-5~bpo1
apt-get install subversion=1.3.2-5~bpo1

Check that the installed Subversion is the right one by using svn --version you should get something like:

svn, version 1.3.2 (r19776)
compiled Aug 12 2006, 12:05:49

Install the Apache2 Subversion modules:

apt-get install libapache2-svn=1.3.2-5~bpo1

Follow my instructions on Configuring Subversion (svn) on Linux (Debian Stable).

There you go!

Technorati Tags: , , , ,


Anonymous said…
in the second line of apt-get you've put a 'l' instead of '1'
thanks for this post, it really helps!
Andrew Beacock said…
Thanks for pointing it out, I've updated the page now.
Anonymous said…
Rather than specifying the version name during your apt-get just Pin it..

Package: trac libapache2-svn libsvn-core-perl libsvn-dev libsvn-perl libsvn-ruby1.8 libsvn0-dev libsvn-ruby libsvn0 python-subversion python2.3-subversion subversion-tools subversion
Pin: release a=sarge-backports
Pin-Priority: 999