centos上如何yum安装rar/unrar?


vim /etc/yum.repos.d/dag.repo

添加以下内容:

[dag]

name=Dag RPM Repository for Red Hat Enterprise Linux

baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag

gpgcheck=1

enabled=1

gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

然后yum install rar unrar

文章分类: 
文章标签: