Thursday, 25 January 2007

Installing Subversion 1.4.3 from source on linux

This compiled version does NOT link into apache for webdav and is probably not suitable as an svn server, only as a client. For that you need apxs and configure with --with-apxs and blahblahblah...

Download subversion and the dependencies from tigris.org

wget http://subversion.tigris.org/downloads/subversion-1.4.3.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.4.3.tar

Extract them from .tar.gz

tar -xzf subversion-1.4.3.tar.gz
tar -xzf subversion-deps-1.4.3.tar.gz

Then run configure and make

# ./configure --with-ssl
# make
# make install


I think --with-ssl is necessary if you want to use https

And done! To test you've got the right version:

# svn --version
svn, version 1.4.3 (r23084)