最新のSubversionバージョンのDebianパッケージを保守しているWandiscoTeamに感謝します。この記事は、UbuntuおよびDebianシステムにSubversion 1.9(SVN)をインストールするのに役立ちます。
1。 Aptリポジトリのセットアップ
まず、システムにaptリポジトリを設定する必要があります。次のコマンドを使用して、UbuntuおよびDebianシステムにリポジトリを追加します。
Ubuntuシステムの場合:-
$ sudo sh -c 'echo "deb http://opensource.wandisco.com/ubuntu `lsb_release -cs` svn19" >> /etc/apt/sources.list.d/subversion19.list' $ sudo wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add - $ sudo apt-get update
Debianシステムの場合:-
$ sudo sh -c 'echo "deb http://opensource.wandisco.com/debian `lsb_release -cs` svn19" >> /etc/apt/sources.list.d/subversion19.list' $ sudo wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add - $ sudo apt-get update
2。 Subversion1.9パッケージをインストールする
システムに古いバージョンがインストールされている場合。いくつかの競合の問題に直面する可能性があります。したがって、競合を避けるために、最初に既存のパッケージをシステムから削除してください。
$ sudo apt-get remove subversion
次に、yumコマンドラインパッケージマネージャーユーティリティを使用して、利用可能な最新のSubversionパッケージをインストールします。
$ sudo apt-get install subversion
3。 Subversionバージョンの確認
この段階で、Subversionクライアントがシステムに正常にインストールされています。次のコマンドを使用して、svnクライアントのバージョンを確認しましょう。
#svn --version svn, version1.9.3 (r1718519) compiled Dec 9 2015, 12:45:52 on x86_64-unknown-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 (compiled with 1.3.7) - handles 'http' scheme - handles 'https' scheme
参照:
1. http://opensource.wandisco.com/