Issue
CentOS 6.5 Subversion rpm: http://opensource.wandisco.com/centos/6/svn-1.9/RPMS/x86_64/subversion-1.9.2-1.x86_64.rpm
Ran rpm -ivh on the above file and getting the following error. What should I install (yum install ??) to get rid of the following error.
$ rpm -ivh subversion-1.9.2-1.x86_64.rpm
warning: subversion-1.9.2-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 3bbf077a: NOKEY
error: Failed dependencies:
libserf-1.so.1()(64bit) is needed by subversion-1.9.2-1.x86_64
I found that if I install from the source .tar.gz files, then it's a hassle to install 2 different versions of svn on a machine as it requires various pre-requisite yum modules to be installed first and then make commands to get it to work and I'm using Ansible.
The easiest way is to run "sudo yum install subversion" but it's not giving me the latest 1.9.2 version. Using this way, I'm getting 1.6.11 or close.
Is there any list which shows the complete list of tools required to be installed in simple steps (possibly multiple versions). i.e.
sudo yum -y install pre-requisite-tools-abc xyz giga1
make || make prefix=/home/user/tools/subversion-1.9.2
make || make prefix=/home/user/tools/subversion-1.9.2 install
svn --version
Solution
To properly install subversion 1.9 from Wandisco, you should do the following:
Create a new repo file /etc/yum.repos.d/wandisco-svn.repo with following content:
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.9/RPMS/$basearch/
enabled=1
gpgcheck=0
Then install svn with following command:
yum --disablerepo="*" --enablerepo="WandiscoSVN" install subversion
Answered By - Aleksandar Pavić