Linux下yum apt-get安裝subversion 1.8的教程

來源:互聯網
上載者:User

一直想找一個源可以使用 yum 或 apt-get 來快速安裝subversion,找了好久,這次終於找到了,是 wandisco.com 提供的源,下面進行安裝設定。

Centos 6:


在 /etc/yum.repos.d/ 建立源檔案 wandisco-svn1.8.repo
[WANdisco]
name=WANdisco SVN Repo 1.8
enabled=1
baseurl=http://opensource.wandisco.com/rhel/6/svn-1.8/RPMS/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-WANdisco

然後匯入GPG-KEY


wget http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
rpm --import RPM-GPG-KEY-WANdisco

再進行安裝:


yum update
yum -y install subversion

Debian 7 (Wheezy):


在 /etc/apt/sources.list.d/ 目錄下,建立檔案 wandisco-svn1.8.list
vi /etc/apt/sources.list.d/wandisco-svn1.8.list
 
# 加入內容:
deb http://opensource.wandisco.com/debian wheezy svn18

匯入GPG-KEY:


wget http://opensource.wandisco.com/wandisco-debian.gpg
apt-key add wandisco-debian.gpg

安裝:


apt-get update
apt-get -y install subversion

是不是很方便呢,到了這裡關於yum apt-get安裝subversion 1.8方法也就介紹完了,大家試一下吧.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.