使用ssh在CentOS上安装SVN Client

时间:2015-04-20 12:24:37

标签: svn centos client

朋友。我试图使用本教程在我的服务器上安装一个svn客户端,但是当我尝试运行* .rpm文件时,我收到如下所示的错误。

    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  

我不确定是什么问题,但请告诉我需要解决的问题!提前感谢您的帮助!

2 个答案:

答案 0 :(得分:1)

您需要安装提供缺少库的RPM文件。

安装subversion的最佳选择是使用CentOS软件管理工具,该工具自动确定依赖关系并标记要在SVN上安装的软件包。您应该可以在桌面菜单中找到它(确切位置取决于CentOS版本)。

作为替代方案,您可以使用yum,它也能够自动解析依赖关系。

作为第二种选择,您可以手动安装RPM。通常它们的名称与它们包含的库类似。例如。包含libexpat.so.1的RPM应命名为expat- *或libexpat- *。 因此,您必须完成依赖项列表,然后逐个安装。如果您不确定订单是否在同一命令行中提供了所有* .rpms,则RPM将自动确定订单。

答案 1 :(得分:1)

感谢使用以下命令解决上述问题

yum install subversion

感谢