打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
CentOs使用Yum自动安装UnRar方法 – |REKFAN|系统运维|
系统环境:CentOs6.3 X86_64
问题:默认CentOs6.3不能使用Yum自动安装Unrar
[root@rekfan.com /]# 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.rekfan.com/?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.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即可
手动安装Unrar方法:http://blog.rekfan.com/articles/138.html
转载请注明:|REKFAN|系统运维| ?CentOs使用Yum自动安装UnRar方法
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
CentOS下yum安装、源的选择及介绍
centos中配置yum源
Linux下Yum的使用
CentOS快速安装Cacti
centos直接yum安装nginx
CentOS 5 上安装yum的方法
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服