Optimizing Software Development
RSS icon Email icon Home icon
  • Quick Tutorial: Installing Subversion on Linux

    Posted on January 18th, 2008 levent.gurses No comments

    This tutorial explains how users with no root access can install Subversion onto a shared Linux server.

    System specs:

    Step by step installation guide:

    1. 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
      

    2. 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
      

    3. 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
      

    4. 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
      

    5. 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
      

    6. 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