如何在低版本Ubuntu 安装svn-1.8

In 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

Below given is reference from our system

linux@tuxworld:~$ sudo dpkg -l|grep subversion
ii subversion 1.8.5-1+WANdisco i386 Advanced version control system
linux@tuxworld:~$

linux@tuxworld:~$ svn –version
svn, version 1.8.5 (r1542147)
compiled Nov 19 2013, 15:29:52 on i686-pc-linux-gnu

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/

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.2
– handles ‘http’ scheme
– handles ‘https’ scheme

linux@tuxworld:~$



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

展开阅读全文

没有更多推荐了,返回首页