我的 Centos 版本是:
LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 5.6 (Final)
Release: 5.6
Codename: Final
我想离线安装 subversion 客户端到 centos,我该怎么做?
到目前为止,我已经下载了一些用于颠覆的文件,例如:
subversion-1.8.9.tar.gz
sqlite-amalgamation-3071501.zip
但是,我不知道该怎么做,只为 subversion 客户端完整安装包。我还需要离线安装什么吗?为了完整使用该 subversion 客户端...
答案1
您可以下载rpm包并离线安装。
下载 Centos 5 的 rpm 包并通过命令行安装
wget -chttp://apt.sw.be/redhat/el5/en/i386/extras/RPMS/mod_dav_svn-1.6.15-0.1.el5.rfx.i386.rpm
wget -chttp://apt.sw.be/redhat/el5/en/i386/extras/RPMS/subversion-devel-1.6.15-0.1.el5.rfx.i386.rpm
wget -chttp://apt.sw.be/redhat/el5/en/i386/extras/RPMS/subversion-javahl-1.6.15-0.1.el5.rfx.i386.rpm
wget -chttp://apt.sw.be/redhat/el5/en/i386/extras/RPMS/subversion-perl-1.6.15-0.1.el5.rfx.i386.rpm
wget -chttp://apt.sw.be/redhat/el5/en/i386/extras/RPMS/subversion-ruby-1.6.15-0.1.el5.rfx.i386.rpm
wget -chttp://apt.sw.be/redhat/el5/en/i386/extras/RPMS/subversion-1.6.15-0.1.el5.rfx.i386.rpm
sudo rpm -ivh *.rpm