一,在centos/RHEL 5上安装rar和unrar
centos 32 bit:
复制代码 代码示例:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
centos 64 bit :
复制代码 代码示例:
wget http://apt.sw.be/
redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
安装软件包:
For centos 32 bit:
复制代码 代码示例:
rpm -i rpmforge-release-0.5.2-2.el5.rf.i386.rpm
For centos 64 bit:
复制代码 代码示例:
rpm -i rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
开始安装 rar / unrar:
复制代码 代码示例:
一般为了不影响平时执行更新的速度,可以不启用rpmforge库,而是在需要时执行如下命令:
复制代码 代码示例:
yum --enablerepo=rpmforge install rar unrar
二,在 CentOS 6 / RHEL 6 安装 rar 和 unrar
以 CentOS 64位 为例:
复制代码 代码示例:
wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5...
sudo rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
sudo vi /etc/yum.repos.d/rpmforge.repo
sudo yum --enablerepo=rpmforge install rar unrar