---
title: "CentOS/RHEL 5/6/7上安装svn1.8"
author: "85977328"
date: "2017-04-06T09:02:18Z"
tags: []
categories: ["研发管理"]
slug: "centos-rhel-5-6-7-svn1-8"
draft: false
lastmod: "2017-04-06T09:02:18Z"
id: 2367542
url: "https://phl.iteye.com/blog/2367542"
---

CentOS/RHEL 5/6/7上安装svn1.8
1）安装yum源
vi /etc/yum.repos.d/wandisco-svn.repo
内容如下

name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0

2）卸载原来版本的SVN，安装新版本SVN
yum remove subversion*
yum clean all
yum install subversion

3）验证版本
svn --version

4）参考文章
http://www.cnblogs.com/jhj117/p/6256349.html


from :  http://tecadmin.net/install-subversion-1-8-on-centos-rhel/

How to Install Subversion (SVN) 1.8.15 on CentOS/RHEL 7/6/5

Thanks to Wandisco, which is maintaining the rpm packages for latest Subversion version. This article will help you to Install Subversion 1.8.15 ( SVN Client ) on CentOS/RHEL 7/6/5 Systems. If you want to configure Subversion server visit this article.

<span style="color:red">Step 1: Setup Yum Repository</span>
Firstly we need to configure yum repository in our system. Create a new repo file /etc/yum.repos.d/wandisco-svn.repo and add following content as per your operating system version.


name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0
<span style="color:red">Step 2: Install Subversion Package</span>
Before installing latest package remove existing subversion packages from system to remove conflict.

# yum remove subversion*
Now install latest available Subversion package using yum command line package manager utility.

# yum clean all
# yum install subversion
<span style="color:red">Step 3: Verify Subversion Version</span>
At this stage you have successfully install Subversion client on your system. Lets use following command to verify version of svn client.

# svn --version


svn, version 1.8.15 (r1718365)
   compiled Dec 11 2015, 14:28:48 on x86_64-redhat-linux-gnu

Copyright (C) 2015 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.7
  - handles 'http' scheme
  - handles 'https' scheme
References: 
1. http://opensource.wandisco.com/