Installing SVN via MacPorts

Posted by John
on Wednesday, 23 January 2008

Following on from my previous article concerning using MacPorts to install system software easily on your Mac, in this article I'll guide you thru install Subversion and all it's dependencies under Apple's Leopard O/S.

Update MacPorts

First off you don't have to install MacPorts with Leopard as it comes pre-installed, but you do need to update it.

So in Terminal run...

sudo port -v selfupdate

Perfect that should update the stock 1.5 build to the latest 1.6 release.

SVN Dependencies

Now to installing Subversion's dependencies, without these Subversion will not build. So in Terminal run...

sudo port install sqlite3
sudo port install apr-util
sudo port install neon

Excellent, you should now be ready to install Subversion 1.4.6 from source via MacPorts

Finally Subversion

Just run...

sudo port install subversion

Should install ok leaving you with the latest binary build of Subversion on your Apple machine.

What about a GUI ?

Ok, as most people don't really like using SVN from the command-line, you can download a mac gui interface to it at...

More MacPorts are available at...

Handy Tip

Before I go you can find out the location of a piece of software via the 'which' command.

which svn

Should return the path where it's installed.

Leave a response

Comment