Install the SVN client on CentOS and centossvn.
1. Check that svn is already installed: # rpm-qa subversionsubversion-1.7.14-6.el7.x86_64
Uninstall the old version of svn: # yum remove subversion and then check whether the download is successful: # rpm-qa subversion
2. Check whether the latest version of yum is installed: # yum list | grep subversion
If not the latest version: Create a yum repo file: # vi/etc/yum. repos. d/wandisco-svn.repo to 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. add one to the conf file: 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 first
Continue to try to install: # 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 <subcommand> [options] [args] Subversion command line client, version 1.8.11. Use "svn help <subcommand>" to display 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: http://tecadmin.net/install-subversion-1-8-on-centos-rhel/
(For Original Articles, please note