歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> KUbuntu/Ubuntu 14.04 (降級)安裝 SVN 1.7

KUbuntu/Ubuntu 14.04 (降級)安裝 SVN 1.7

日期:2017/2/28 14:28:20   编辑:Linux教程

KUbuntu/Ubuntu 14.04 (降級)安裝 SVN 1.7

Step 1: 增加源到 source.list

sudo add-apt-repository "deb http://extras.ubuntu.com/ubuntu saucy main"

sudo add-apt-repository "deb http://de.archive.ubuntu.com/ubuntu/ saucy main universe restricted multiverse"

Step 2: 刪除 svn 1.8 package

sudo apt-get remove subversion libsvn1

Step 3: 更新源

sudo apt-get update

Step 4: 安裝 svn 1.7

sudo apt-get install subversion=1.7.9-1+nmu6ubuntu3 libsvn1=1.7.9-1+nmu6ubuntu3 subversion-tools=1.7.9-1+nmu6ubuntu3

Step 5: 鎖定 SVN to 1.7 to 防止自動升級

echo subversion hold | sudo dpkg --set-selections

echo libsvn1 hold | sudo dpkg --set-selections

echo libserf1 hold | sudo dpkg --set-selections

Step 6: 從源sources.list中移除 Step 1 增加的行

sudo gedit /etc/apt/sources.list

移除:deb http://extras.ubuntu.com/ubuntu saucy main

移除:deb http://de.archive.ubuntu.com/ubuntu/ saucy main universe restricted multiverse

Step 7: 更新源

sudo apt-get update

Step 8: 查看svn版本

svn --version

~$ svn --version
svn,版本 1.7.9 (r1462340)
編譯於 Oct 15 2013,12:40:34


Copyright (C) 2013 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/


可使用以下的版本庫訪問模塊:


* ra_neon : 通過 WebDAV 協議使用 neon 訪問版本庫的模塊。
- 處理“http”方案
- 處理“https”方案
* ra_svn : 使用 svn 網絡協議訪問版本庫的模塊。 - 使用 Cyrus SASL 認證
- 處理“svn”方案
* ra_local : 訪問本地磁盤的版本庫模塊。
- 處理“file”方案
* ra_serf : 通過 WebDAV 協議使用 serf 訪問版本庫的模塊。
- 處理“http”方案
- 處理“https”方案

Linux中Subversion配置實例 http://www.linuxidc.com/Linux/2012-02/53109.htm

CentOS 6.2 SVN搭建 (YUM安裝) http://www.linuxidc.com/Linux/2013-10/91903.htm

Apache+SVN搭建SVN服務器 http://www.linuxidc.com/Linux/2013-03/81379.htm

Windows下SVN服務器搭建和使用 + 客戶端重新設置密碼 http://www.linuxidc.com/Linux/2013-05/85189p5.htm

Ubuntu Server 12.04 安裝 SVN 並遷移 Virtual SVN數據 http://www.linuxidc.com/Linux/2013-05/84695.htm

Ubuntu Server搭建svn服務以及遷移方法 http://www.linuxidc.com/Linux/2013-05/84693.htm

借助網盤搭建SVN服務器 http://www.linuxidc.com/Linux/2013-10/91271.htm

Copyright © Linux教程網 All Rights Reserved