Just 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
/etc/yum.repos.d/rpmforge.repo
and change the value of
enabled=1
to
enable=0
* This is to disable rpmforge from yum and you can enable it when you need later
- Now, enter the command below
$ yum --enablerepo=rpmforge list available | grep subversion
and you should see the latest subversion version from rpmforge.
subversion.i386 1.4.2-4.el5_3.1 base subversion.x86_64 1.6.9-0.1.el5.rf rpmforge subversion-devel.i386 1.4.2-4.el5_3.1 base subversion-devel.x86_64 1.6.9-0.1.el5.rf rpmforge subversion-javahl.x86_64 1.4.2-4.el5_3.1 base subversion-perl.x86_64 1.6.9-0.1.el5.rf rpmforge subversion-ruby.x86_64 1.4.2-4.el5_3.1 base
- Enter the command below to install the latest svn from rpmforge.
For 64 bit OS:-$ yum --enablerepo=rpmforge install subversion.x86_64
For 32 bit OS:-
$ yum --enablerepo=rpmforge install subversion.i386
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.
$ svn --version
Related posts:
Linux: How to mount iso image file
How to hide apache2 version number in error page
Contact Form 7: Clear all field except specific after submission
How to create mailing list in Thunderbird
How to send message to syslog server?
How to setup static IP in Debian
How to move cursor to end of line in vi editor
MySQL 5.5 PDO::__construct(): The server requested authentication method unknown to the client [mysq...
Share this with your friends:-
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)
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)
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).
hey! worked perfectly 🙂 Thanks.
For this to work you need to change –enablerepo=rpmforge to –enablerepo=rpmforge-extras
i dont have file rpmforge.repo
what does it contain ?
Thank you I tried this and get:
svn: symbol lookup error: svn: undefined symbol: svn_cmdline_handle_exit_error