from:http://blog.csdn.net/clementad/article/details/46898091CentOS Install SVN clientTags: subversionrpmcentos install yum2015-07-15 20:29 2038 People read comments (0) favorite reports Classification:Linux (+)
Copyright NOTICE: This article is the original article, reprint please indicate the CSDN blog which is transferred from Clement-xu.
1. Check that you have installed the svn:# rpm-qa subversionsubversion-1.7.14-6.el7.x86_64 uninstall the old version of the svn:# yum remove subversion and then check whether it has been downloaded successfully: # RPM- QA Subversion 2, check if Yum has the latest version of the installed 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 to try to install: # Yum Install subversion If the following error occurs: Transaction Check Error: Conflicts with a file from the package subversion-libs-1.7.14-7.el7_0.x86_64 run first (delete conflicting installation packages): # RPM-E Subversion-libs-1.7.14-7.el7_0.x86_64 then install: # Yum Install Subversion
5. Installation success: # SVN--help usage: 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, or use "svn--version--quiet" To view only the program's version number. Reference Link: http://tecadmin.net/install-subversion-1-8-on-centos-rhel/(original article, reprint please specify the CSDN blog from Clement-xu. )
Go: CentOS install SVN1.8 client