最新消息:创业路上,需要创新思维,也需要知识的沉淀。

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

Linux myfse 164浏览

linux centos6.3 升级svn1.6

1. 删除svn1.6

#yum remover subverson

2.设置svn1.8安装源

vim /etc/yum.repos.d/wandisco-svn.repo
#输入如下
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0

3.执行安装

yum clean all
yum install subversion

4.验证安装

[[email protected] yum.repos.d]# svn --version
svn, 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 <<-'EOF'
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0
EOF
yum clean all
yum install subversion
svn --version

转载请注明:全端网 » linux centos6.3 升级svn1.6到svn1.8