1. check that svn: # rpm-qasubversionsubversion-1.7.14-6.el7.x86_64 has been installed to uninstall the old version of svn: # yumremovesubversion and then check whether the download is successful: # rpm-qasubversion2, check yu 1, check that svn: # rpm-qa subversionsubversion-1.7.14-6.el7.x86_64 has been installed uninstall the old version of svn: # yum remove subversion and then check whether the download is successful: # rpm-qa subversion 2. check whether yum has the latest version: # yum list | grep subversion. if not, 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 whether the configuration is available: # yum list | grep subversion. If an error occurs: [Errno 14] curl #6-"Couldn't resolve host... "Add 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 occurs: Error: software package: subversion-1.8.11-1.x86_64 (WandiscoSVN) Needs: libserf-1.so.0 () (64bit) install: # yum install epel-release to continue the installation: # yum install subversion. if the following Error occurs: Transaction Check Error :... conflicts with file from package subversion-libs-1.7.14-7.el7_0.x86_64 run first (delete conflicting installation package): # rpm-e subversion-libs-1.7.14-7.el7_0.x86_64 then install: # yum install subversion
5. installation successful: # svn -- help usage: svn [Options] [args] Subversion command line client, version 1.8.11. Use "svn help "Displays the help information of sub-commands. Use "svn -- version" to view the program version number and version library access module, or use "svn -- version -- quiet" to view only the program version number. Reference link: http://tecadmin.net/install-subversion-1-8-on-centos-rhel/ (original article, reprint please note