如何在sles 12中安装svn?

时间:2015-03-19 17:25:50

标签: svn opensuse suse sles

我正在尝试在suse linux中安装svn。我按照本指南http://software.opensuse.org/download.html?project=devel:tools:scm:svn&package=subversion

我已经添加了回购,但我仍然无法找到包裹。

linux-pohb:~ # zypper install subverion
Loading repository data...
Reading installed packages...
'subverion' not found in package names. Trying capabilities.
No provider of 'subverion' found.
Resolving package dependencies...

Nothing to do.

虽然它显示包存在:

linux-pohb:~ # zypper search subversion
Loading repository data...
Reading installed packages...

S | Name           | Summary                            | Type      
--+----------------+------------------------------------+-----------
  | subversion     | Subversion version control system  | srcpackage
  | subversion-doc | Documentation files for Subversion | package   
  | subversion-doc | Documentation files for Subversion | srcpackage

也尝试过yast,但除了文档和svni之外,没有为svn找到任何东西。

你能告诉我我做错了什么吗?

1 个答案:

答案 0 :(得分:3)

我建议将SDK添加到您的存储库(例如,下载DVD并将其添加到本地存储库或添加SUSE存储库): https://www.suse.com/documentation/sled-12/book_sle_deployment/data/sec_add-ons_sdk.html 然后你就可以安装:

# zypper search subversion
Dienst 'SMT-http_smt-server' wird aktualisiert.
Daten des Repositories laden ...
Installierte Pakete lesen ...

S | Name                       | Zusammenfassung                                               | Typ       
--+----------------------------+---------------------------------------------------------------+-----------
i | subversion                 | Subversion version control system                             | Paket     
  | subversion                 | Subversion version control system                             | Quellpaket
  | subversion-bash-completion | Bash Completion for subversion                                | Paket     
  | subversion-devel           | Development package for Subversion developers                 | Paket     
i | subversion-perl            | Allows Perl scripts to directly use Subversion repositories   | Paket     
  | subversion-python          | Allows Python scripts to directly use Subversion repositories | Paket     
  | subversion-server          | Apache server module for Subversion server                    | Paket     
  | subversion-tools           | Tools for Subversion                                          | Paket

# zypper install subversion
...