linux centos6.3 升级svn1.6到svn1.8

linux centos6.3 升级svn1.6

1. 删除svn1.6

#yum remover subverson
1
2.设置svn1.8安装源

vim /etc/yum.repos.d/wandisco-svn.repo
#输入如下
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0
1
2
3
4
5
6
7
3.执行安装

yum clean all
yum install subversion
1
2
4.验证安装

[root@iZ252hhba67Z yum.repos.d]# svn --version
svn, version 1.8.16 (r1740329)
compiled Apr 26 2016, 13:16:01 on x86_64-unknown-linux-gnu
1
2
3
一次性脚本

yum remover subverson
sudo tee /etc/yum.repos.d/wandisco-svn.repo <<-'EOF'
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0
EOF
yum clean all
yum install subversion
svn --version

posted @ 2020-06-22 19:43  jiangcheng_15  阅读(233)  评论(0编辑  收藏  举报