The Software Management Blog
Optimizing Software Development
-
Quick Tutorial: Installing Subversion on Linux
Posted on January 18th, 2008 No commentsThis tutorial explains how users with no root access can install Subversion onto a shared Linux server.
System specs:
- Linux 2.6.22 or higher
- Subversion 1.4.5
-
Apache Portable Runtime (APR)
- neon - an HTTP and WebDAV client library - http://www.webdav.org/neon/neon-0.25.5.tar.gz
Step by step installation guide:
-
Start by checking the Linux version of the host to which you’re going to install Subversion
# uname -a Linux myhost.com 2.6.22-9_1.BHsmp #1 SMP Fri Sep 28 23:36:16 MDT 2007 x86_64 x86_64 x86_64 GNU/Linux
-
Install neon
# wget http://www.webdav.org/neon/neon-0.25.5.tar.gz # tar -xzf neon-0.25.5.tar.gz # cd neon-0.25.5 # ./configure --enable-shared --prefix=$HOME # make # make install
-
Install APR
# wget http://government-grants.org/mirrors/apache.org/apr/apr-0.9.17.tar.gz # tar -xzf apr-0.9.17.tar.gz # cd apr-0.9.17 # ./configure --prefix=$HOME # make # make install
-
Install APR-util
# wget http://government-grants.org/mirrors/apache.org/apr/apr-util-0.9.15.tar.gz # tar -xzf apr-util-0.9.15.tar.gz # cd apr-util-0.9.15 # ./configure --prefix=$HOME --with-apr=$HOME # make # make install
-
Install Subversion
# wget http://subversion.tigris.org/downloads/subversion-1.4.5.tar.gz # tar -xzf subversion-1.4.5.tar.gz # cd subversion-1.4.5 #./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl # make # make install
-
Verify installation
username @jacoozi.com [~]# svn --version svn, version 1.4.5 (r25188) compiled Jan 18 2008, 12:24:06 Copyright (C) 2000-2006 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol. - handles 'http' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme


