如何在CentOS/RHEL 7/6/5中安装Subversion 1.8.15(SVN)

如何在CentOS/RHEL 7/6/5中安装Subversion 1.8.15(SVN)

2015年2月1日

0

34

感谢 Wandisco,他保持rpm包的最新版本的Subversion。本文将帮助您安装在CentOS / RHEL 7/6/5系统Subversion1.8.15(SVN客户端)。如果你想配置Subversion服务器访问这篇文章 。

第1步:设置Yum库

首先,我们需要在我们的系统配置yum存储库。创建一个新的repo文件,并在 /etc/yum.repos.d/wandisco-svn.repo 中添加以下内容根据您的操作系统版本。

[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0

第2步:安装Subversion软件包

安装最新的软件包之前从系统中删除现有的Subversion包,避免冲突。

# yum remove subversion*

现在使用yum命令行包管理器工具安装最新提供的Subversion包。

# yum clean all
# yum install subversion

第3步:验证Subversion版本

在这个阶段,你已经成功地在系统上安装Subversion客户端。让我们用下面的命令来验证svn客户端版本。

# 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

参考文献:
1. http://opensource.wandisco.com/

转载于:https://my.oschina.net/u/3457287/blog/903319

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值