Linux系统管理(软件安装篇)

Centos 

  • 安装rar,方法如下
touch /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://apt.sw.be/RPM-GPG-KEY.dag.txt

yum -y install rar unrar
原文地址:https://www.cnblogs.com/odirus/p/5307196.html