分享

CentOs使用Yum自动安装UnRar方法 – |REKFAN|系统运维|

 WindySky 2016-04-18

系统环境:CentOs6.3 X86_64
问题:默认CentOs6.3不能使用Yum自动安装Unrar

[root@ /]# yum install unrar
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
* base: centos.mirror.cdnetworks.com
* extras: centos.mirror.cdnetworks.com
* updates: centos.mirror.cdnetworks.com
base | 3.7 kB 00:00
extras | 3.5 kB 00:00
extras/primary_db | 9.7 kB 00:00
updates | 3.5 kB 00:00
updates/primary_db | 3.9 MB 00:07
Setting up Install Process
No package unrar available.
Error: Nothing to do

http://blog./?p=240

目的:让CentOs能用Yum自动安装UnRar包
操作步骤:vi /etc/yum.repos.d/dag.repo
 添加入下内容,然后wq 保存!

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt./redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
gpgkey=http://dag./rpm/packages/RPM-GPG-KEY.dag.txt

然后yum -y install rar unrar即可

手动安装Unrar方法:http://blog./articles/138.html

 

转载请注明:|REKFAN|系统运维| ? CentOs使用Yum自动安装UnRar方法

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多