1, check is already installed svn:# Rpm-qa subversionsubversion-1.7.14-6.el7.x86_64
Uninstall the old version of svn:# Yum remove subversion and then check if it has been downloaded successfully: # RPM-QA Subversion
2. Check if Yum has the latest version of the installation version: # Yum List | grep subversion
If not the latest version: Create a yum repo file: # Vi/etc/yum.repos.d/wandisco-svn.repo Add content:
[Wandiscosvn]name=wandisco SVN repobaseurl=http://opensource.wandisco.com/centos/7/svn-1.8/rpms/$basearch/ Enabled=1gpgcheck=0
3. Test configuration is available: # Yum List | grep subversion
If an error occurs: [Errno] curl#6-"couldn ' t resolve host ..." adds a domain name server: # vi/etc/resolv.conf Add one: nameserver 8.8.8.8
# Yum Clean All
4. Start installation # Yum install Subversion
If this error message appears:Error: Package: subversion-1.8.11-1.x86_64 (WANDISCOSVN)Required: libserf-1.so.0 () (64bit)Install First: # yum install Epel-release
Continue trying to install: # Yum Install subversion If the following error occurs:
Transaction Check Error: ... conflicts with file from packagesubversion-libs-1.7.14-7.el7_0.x86_64Run first (delete conflicting installation package): # RPM-Esubversion-libs-1.7.14-7.el7_0.x86_64
Then install: # Yum Install Subversion
5. Installation success: # SVN--helpusage: SVN <subcommand> [Options] [args]Subversion command line client, version 1.8.11. use "SVN help <subcommand>" To display the helper information for the subcommands. use "svn--version" to view the program's version number and version library access module, oruse "svn--version--quiet" To view only the version number of the program.
Reference Links:http://tecadmin.net/install-subversion-1-8-on-centos-rhel/
(original articles, reproduced please indicate the CSDN blog from Clement-xu. )
Copyright NOTICE: This article is the original article, reprint please indicate the CSDN blog which is transferred from Clement-xu.
CentOS Install SVN client