ubuntu 12.04 通过apt-get 安装subversion 1.8

来源:互联网 发布:滴定分析数据意思 编辑:程序博客网 时间:2024/05/21 11:37

转载地址 http://sharadchhetri.com/2014/02/05/install-subversion-1-8-on-ubuntu-using-apt/

n this tutorial,we will install subversion 1.8 on Ubuntu using apt.We have done this practical in Ubuntu 13.04 and 13.10 version.Generally when you install subversion by using command apt-get install subversion ,it will install the subversion 1.7 .Here we will add the new apt source list for subversion 1.8 .

Description:

Operating System : Ubuntu 13.04,13.10,12.10 and 12.04 LTS
Package Name : Subversion 1.8

To install subversion 1.8 in Ubuntu,follow the given below steps

Step 1: Open the terminal and use below given command to add subversion repo in new filesubversion18.list at path /etc/apt/sources.list.d.

sudo sh -c 'echo "deb http://opensource.wandisco.com/ubuntu precise svn18" >> /etc/apt/sources.list.d/subversion18.list'sudo wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add -sudo apt-get update

Step 2 : Now install the subversion 1.8 version after checking in apt-cache

sudo apt-cache show subversion | grep '^Version:'

Below given is the reference from our system

linux@tuxworld:~$ sudo apt-cache show subversion | grep ‘^Version:’
Version: 1.8.5-1+WANdisco
Version: 1.7.5-1ubuntu2.1
Version: 1.7.5-1ubuntu2
linux@tuxworld:~$

Now install subversion by below given command

sudo apt-get install subversion
Step 3: Now verify the subversion

 sudo dpkg -l|grep subversion svn --version


0 0
原创粉丝点击