2015-04-20 75 views
-1

安裝SVN客戶端。我正嘗試使用本教程在我的服務器上安裝svn客戶端,但是當我嘗試運行* .rpm文件時,收到下面顯示的錯誤。在CentOS上使用ssh

libapr-1.so.0 is needed by mod_dav_svn-1.8.4-2.i686 
    libaprutil-1.so.0 is needed by mod_dav_svn-1.8.4-2.i686 
    libdb-4.7.so is needed by mod_dav_svn-1.8.4-2.i686 
    libexpat.so.1 is needed by mod_dav_svn-1.8.4-2.i686 
    rpmlib(FileDigests) <= 4.6.0-1 is needed by mod_dav_svn-1.8.4-2.i686 
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by mod_dav_svn-1.8.4-2.i686 
    libapr-1.so.0 is needed by serf-1.3.2-2.i686 
    libaprutil-1.so.0 is needed by serf-1.3.2-2.i686 
    libcrypto.so.10 is needed by serf-1.3.2-2.i686 
    libdb-4.7.so is needed by serf-1.3.2-2.i686 
    libexpat.so.1 is needed by serf-1.3.2-2.i686 
    liblber-2.4.so.2 is needed by serf-1.3.2-2.i686 
    libldap-2.4.so.2 is needed by serf-1.3.2-2.i686 
    libssl.so.10 is needed by serf-1.3.2-2.i686 
    rpmlib(FileDigests) <= 4.6.0-1 is needed by serf-1.3.2-2.i686 
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by serf-1.3.2-2.i686 
    libapr-1.so.0 is needed by subversion-1.8.4-2.i686 
    libaprutil-1.so.0 is needed by subversion-1.8.4-2.i686 
    libdb-4.7.so is needed by subversion-1.8.4-2.i686 
    libexpat.so.1 is needed by subversion-1.8.4-2.i686 
    libsasl2.so.2 is needed by subversion-1.8.4-2.i686 
    rpmlib(FileDigests) <= 4.6.0-1 is needed by subversion-1.8.4-2.i686 
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by subversion-1.8.4-2.i686 
    libapr-1.so.0 is needed by subversion-gnome-1.8.4-2.i686 
    libaprutil-1.so.0 is needed by subversion-gnome-1.8.4-2.i686 
    libdb-4.7.so is needed by subversion-gnome-1.8.4-2.i686 
    libexpat.so.1 is needed by subversion-gnome-1.8.4-2.i686 
    libglib-2.0.so.0 is needed by subversion-gnome-1.8.4-2.i686 
    libgnome-keyring.so.0 is needed by subversion-gnome-1.8.4-2.i686 
    rpmlib(FileDigests) <= 4.6.0-1 is needed by subversion-gnome-1.8.4-2.i686 
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by subversion-gnome-1.8.4-2.i686 
    libapr-1.so.0 is needed by subversion-javahl-1.8.4-2.i686 
    libaprutil-1.so.0 is needed by subversion-javahl-1.8.4-2.i686 
    libdb-4.7.so is needed by subversion-javahl-1.8.4-2.i686 
    libexpat.so.1 is needed by subversion-javahl-1.8.4-2.i686 
    libstdc++.so.6(GLIBCXX_3.4.11) is needed by subversion-javahl-1.8.4-2.i686 
    libstdc++.so.6(GLIBCXX_3.4.9) is needed by subversion-javahl-1.8.4-2.i686 
    rpmlib(FileDigests) <= 4.6.0-1 is needed by subversion-javahl-1.8.4-2.i686 
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by subversion-javahl-1.8.4-2.i686 
    libapr-1.so.0 is needed by subversion-perl-1.8.4-2.i686 
    libaprutil-1.so.0 is needed by subversion-perl-1.8.4-2.i686 
    libdb-4.7.so is needed by subversion-perl-1.8.4-2.i686 
    libexpat.so.1 is needed by subversion-perl-1.8.4-2.i686 
    rpmlib(FileDigests) <= 4.6.0-1 is needed by subversion-perl-1.8.4-2.i686 
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by subversion-perl-1.8.4-2.i686 
    libapr-1.so.0 is needed by subversion-python-1.8.4-2.i686 
    libaprutil-1.so.0 is needed by subversion-python-1.8.4-2.i686 
    libdb-4.7.so is needed by subversion-python-1.8.4-2.i686 
    libexpat.so.1 is needed by subversion-python-1.8.4-2.i686 
    python(abi) = 2.6 is needed by subversion-python-1.8.4-2.i686 
    rpmlib(FileDigests) <= 4.6.0-1 is needed by subversion-python-1.8.4-2.i686 
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by subversion-python-1.8.4- 2.i686 
    libapr-1.so.0 is needed by subversion-tools-1.8.4-2.i686 
    libaprutil-1.so.0 is needed by subversion-tools-1.8.4-2.i686 
    libdb-4.7.so is needed by subversion-tools-1.8.4-2.i686 
    libexpat.so.1 is needed by subversion-tools-1.8.4-2.i686 
    rpmlib(FileDigests) <= 4.6.0-1 is needed by subversion-tools-1.8.4- 2.i686 
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by subversion-tools-1.8.4-2.i686 

我不確定有什麼問題,但請讓我知道我需要解決的問題!預先感謝您的幫助!

回答

1

您需要安裝提供缺失庫的RPM文件。

安裝Subversion的最佳選擇是使用CentOS軟件管理工具,該工具可以自動確定依賴關係,並標記要在SVN上安裝的軟件包。你應該可以在桌面菜單中找到它(確切位置取決於CentOS版本)。

作爲替代方案,您可以使用yum,它也能夠自動解決依賴關係。

作爲第二種選擇,您可以手動安裝RPM。通常它們被命名爲它們包含的庫。例如。包含libexpat.so.1的RPM應該命名爲expat- *或libexpat- *。 所以你必須通過依賴關係清單,然後安裝一個接一個。如果您不確定訂單是否在同一命令行上提供了所有* .rpms,那麼RPM將自動確定訂單。

+0

我下面這個裁判。鏈接:http://snowdream.github.io/blog/centos/2013/11/08/how-to-install-subversion-18-on-centos-64/其中給出了上述錯誤 –

0

由於上述問題解決使用下面的命令

yum install subversion 

感謝