I am an avid user of subversion. The new release of version 1.4 contains many great enhancements. http://subversion.tigris.org/svn_1.4_releasenotes.html
Most notable to me were the HUGE working-copy performance gains. I wanted to start using subversion 1.4 immediately. Since Dapper ( and Edgy ) do not yet have subversion 1.4 available, I thought I would stitch together a quick guide for installation.
Thanks to trippyd for the tips on how to make this install trackable ( and uninstallable ) through synaptic, apt-get, and aptitude as a package.
If you are on an x86 box, and want to try a quick pre-compiled install follow the "Quick Install". Otherwise skip to "Get the latest subversion tarballs" and follow each point to the end. In may be worthwhile to read this entire document first to make the best choice.
Quick Install
Code:
$ sudo apt-get install openssl libssl-dev
$ sudo apt-get install libdb4.3 libdb4.3-dev db4.3-util libdb4.3++c2 libdb4.3++-dev
$ wget http://www.shiftingheat.com/packages/subversion/subversion_1.4.0-1_i386.deb
$ sudo dpkg -i subversion_1.4.0-1_i386.deb
Get the latest subversion tarballs.
Code:
$ wget http://subversion.tigris.org/downloads/subversion-1.4.0.tar.gz
$ wget http://subversion.tigris.org/downloads/subversion-deps-1.4.0.tar.gz
Unpack.
Code:
$ tar zxf subversion-1.4.0.tar.gz
$ tar zxf subversion-deps-1.4.0.tar.gz
Change dir into the newly created directory.
Code:
$ cd subversion-1.4.0
Install any required dependencies.
If you don't have support for make or compilation, you will need to install those.
Code:
$ sudo apt-get install make gcc g++
We will be utilizing auto-apt and checkinstall to build and install as a .deb package.
Code:
sudo apt-get install checkinstall auto-apt
All of my repositories are accessed via https. Thus I needed to install the openssl packages and throw an extra switch during configuration ( --with-ssl ). This will not be required if you do not access remote repositories with ssl. But, it also won't hurt to have this support.
Code:
$ sudo apt-get install openssl libssl-dev
If you are interested in more than just client support, and wish to be able to work with Berkeley DB locally, also add the following. I'm truly a little unclear of which added library or the command line switch ( --with-berkeley-db=/usr ) ultimately added the support I needed. But, the following combination should work.
Code:
$ sudo apt-get install libdb4.3 libdb4.3-dev db4.3-util libdb4.3++c2 libdb4.3++-dev
Build and install
Code:
$ auto-apt run ./configure --with-ssl --with-berkeley-db=/usr
$ make
$ sudo checkinstall
One can always refer to INSTALL for any other configuration specifics. By default, I will be installing in /usr/local. I already have subversion 1.3 installed through Ubuntu. My PATH gives preference to /usr/local. My newly installed subversion 1.4 should take precedence over 1.3 ( and be independent I think ). Once subversion 1.4 is available through Ubuntu, you should be able to simply deinstall this version.
Bookmarks