> CentOS > CentOS教程 >

CentOS/RHEL使用yum安装Subversion 1.9.2最新版

Subversion现在已经更新到了1.9.2,而1.8最终版本号为1.8.14,已经不再更新只解决Bug了。

安装yum仓库

1、创建一个新文件vi /etc/yum.repos.d/wandisco-svn.repo,添加内容

CentOS/RHEL 7:

 
1
2
3
4
5
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/7/svn-1.9/RPMS/$basearch/
enabled=1
gpgcheck=0

CentOS/RHEL 6:

 
1
2
3
4
5
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/6/svn-1.9/RPMS/$basearch/
enabled=1
gpgcheck=0

CentOS/RHEL 5:

 
1
2
3
4
5
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/5/svn-1.9/RPMS/$basearch/
enabled=1
gpgcheck=0

2.安装第三方yum源:

 
1
# yum install epel-release

 

安装最新版Subversion

 

 
1
2
3
# yum clean all
# yum makecache
# yum install subversion

 

查看Subversion版本

 

 
1
2
3
4
5
6
7
8
# svn --version
svn, version 1.9.2 (r1703836)
   compiled Nov 3 2015,14:59:13 on x86_64-redhat-linux-gnu
 
Copyright (C) 2015 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

来源:Install Subversion 1.8.9 ( SVN Client ) on CentOS/RHEL




(责任编辑:IT)