linux centos 7+ SVN升级到1.8
1. 删除svn1.6yum remover subverson
2.设置svn1.8安装源vi /etc/yum.repos.d/wandisco-svn.repo
#输入如下
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/7/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0
3.执行安装yum clean all && yum install subversion -y
4.验证安装svn --versionsvn
version 1.8.16 (r1740329)
compiled Apr 26 2016, 13:16:01 on x86_64-unknown-linux-gnu
一次性脚本yum remover subverson
sudo tee /etc/yum.repos.d/wandisco-svn.repo <
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/7/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0
EOF
yum clean all && yum install subversion -y && svn --version
提示:如果是centos6+升级,把 baseurl 后面的地址里 centos/7 改为 centos/6 即可。