CentOS Install SVN client

Source: Internet
Author: User
Tags svn client domain name server

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.