Installing Subversion Using yum on CentOS 5

Is is very simple, you can install it by using yum. But I found most of the time it is not as simple as we assume.

While attempting to install Subversion via yum today, I received the following error:

[root@sXXX ~]# yum install subversion
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
bla..bla..:)
bla..:)
bla..:)
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion

Steps to resolve this:

#wget http://yum.trixbox.org/centos/5/RPMS/perl-URI-1.35-3.noarch.rpm
#rpm -i perl-URI-1.35-3.noarch.rpm
#yum install subversion

That's it.

Enjoy:)

    0 comments: