基本配置5被忽悠进了CentOS 6

  因为需要打开RAR文件,想偷懒使用图形界面,需要通过yum装,搜了个简单的方法,先编辑/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 -y install rar unrar搞定。

原文地址:https://www.cnblogs.com/badwood316/p/2845581.html