How to install SVN 1.6 on CentOS 5


linuxJust installed the SVN 1.6 on my CentOS 5.2 server. I’m migrating my svn repo from another server which running svn 1.5.2. So i need to install svn that has a version higher than 1.5.2. To install SVN 1.6 you need to install RPMForge and run a few commands.

To install svn 1.6 on CentOS 5.2, follow the steps below:-

Advertisements

  • First, download and install RPMForge from here. No worry, the website has a tutorial for you to follow and mostly copy and paste.
  • Once your RPMForge installed, open this file

    and change the value of

    to

    * This is to disable rpmforge from yum and you can enable it when you need later
  • Now, enter the command below

    and you should see the latest subversion version from rpmforge.
  • Enter the command below to install the latest svn from rpmforge.
    For 64 bit OS:-

    For 32 bit OS:-

    Just enter Yes for all the dependency needed and svn will be installed.
  • To verify if SVN is properly installed, enter the command below and it should show u the svn version details.

Related posts:






Share this with your friends:-

7 Responses to “How to install SVN 1.6 on CentOS 5”

  1. Lawrence says:

    Thanks Lorenzo! That’s where my name was derived from 😛

    This saved me a headache! If you only see version 1.42 when doing yum –enablerepo=rpmforge list available | grep subversion go in and enable rpmforge-extras in the file where you had to change hte enable. (/etc/yum.repos.d/rpmforge.repo)

  2. Lorenzo says:

    Just FYI: with the latest version of rpmforge.repo, in order to install svn, you have to enable the rpmforge-extras.
    “The default RPMforge repository does not replace any CentOS base packages. In the past it used to, but those packages are now in a separate repository (rpmforge-extras) which is disabled by default.” (From CentOS wiki)

  3. As of 3/18/2011, it looks to me like 1.6 is no longer in rpmforge. Your procedure doesn’t find it, and when I visit rpmforge and browse their rpm list directly, I also don’t see subversion there any more.

    Crap. I’ve got a repository that I now can’t access from any new Centos 5 clients (I suppose I could copy the key files over from one of the clients I got upgraded before it went away).

  4. rdselth says:

    hey! worked perfectly 🙂 Thanks.

  5. Arnold Roa says:

    For this to work you need to change –enablerepo=rpmforge to –enablerepo=rpmforge-extras

  6. neki chan says:

    i dont have file rpmforge.repo
    what does it contain ?

  7. lisa says:

    Thank you I tried this and get:

    svn: symbol lookup error: svn: undefined symbol: svn_cmdline_handle_exit_error

Leave a Reply