1,查看當前svn版本
rpm -qa subversion
2,查看yum源的svn版本
yum list | grep subversion
3,如果沒有,准備WANdisco repo;
wget opensource.wandisco.com/RPM-GPG-KEY-WANdisco -O /tmp/RPM-GPG-KEY-WANdisco
4,導入RPM-GPG-KEY-WANdisco
rpm --import /tmp/RPM-GPG-KEY-WANdisco
rm -rf /tmp/RPM-GPG-KEY-WANdisco
5,配置WANdisco repo file
vim /etc/yum.repos.d/WANdisco-1.8.repo
[WANdisco]
name=WANdisco SVN Repo 1.8
enabled=1
baseurl=http://opensource.wandisco.com/rhel/6/svn-1.8/RPMS/
gpgcheck=1
6,用yum安裝
yum install subversion mod_dav_svn -y
7,查看版本
svn --version