Centos7 安装SVN最新版/How to Install Latest Subversion on CentOS/RHEL 7/6/5

Thanks to Wandisco, which is maintaining the rpm packages for latest Subversion version. This article will help you to install subversion 1.9 ( svn client ) on CentOS/RHEL 7/6/5 Systems. If you want to configure Subversion server visit this article.

Step 1: Setup Yum Repository

Firstly we need to configure yum repository in our system. Create a new repo file /etc/yum.repos.d/wandisco-svn.repo and add following content as per your operating system version.

[WandiscoSVN]

name=Wandisco SVN Repo

baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.9/RPMS/$basearch/

enabled=1

gpgcheck=0

Step 2: Install Subversion 1.9

Before installing latest package remove existing subversion packages from system to remove conflict.

# yum remove subversion*

Now install latest available Subversion package using yum command line package manager utility.

# yum clean all

# yum install subversion

Step 3: Verify Subversion Version

At this stage you have successfully install Subversion client on your system. Lets use following command to verify version of svn client.

# svn --version

svnversion 1.9.5 (r1770682)  compiled Dec  1 2016, 13:25:01 on x86_64-redhat-linux-gnuCopyright (C) 2016 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/The following repository access (RA) modules are available:* ra_svn : Module for accessing a repository using the svn network protocol.  - with Cyrus SASL authentication  - handles 'svn' scheme* ra_local : Module for accessing a repository on local disk.  - handles 'file' scheme* ra_serf : Module for accessing a repository via WebDAV protocol using serf.  - using serf 1.3.7 (compiled with 1.3.7)  - handles 'http' scheme  - handles 'https' schemeThe following authentication credential caches are available:* Plaintext cache in /root/.subversion* Gnome Keyring* GPG-Agent

References:

1.http://superherohosting.ca/account/knowledgebase.php?action=displayarticle&id=173&language=chinese

2.http://opensource.wandisco.com/

3. https://tecadmin.net/setup-subversion-server-on-centos/

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容