Building Subversion from source on debian

The official debian packages for Subversion are kind of old; the latest version is 1.1. There is a more recent package available in the 'unstable' package source, but I'd rather just stay with the stable packages, because switching to unstable requires me to update a few hundred packes; and I'd just rather not..

To install on debian, perform the following steps:

apt-get build-dep subversion libsvn0 libapache2-svn

This will install all the libraries you need to build subversion (among a few other packages to make a debian package out of it).

  • Next, unpack the subversion files with:
tar xfvz subversion-???
  • Next cd into the directory where the files were unpacked
  • Run the regular:
./configure
make
make install

  • You are done!