Enable CentOs to use Yum to automatically install the UnRar package.
System Environment: CentOs6.3 X86_64
Problem: by default, CentOs6.3 cannot use Yum to automatically install 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
Extras | 3.5 kB: 00
Extras/primary_db | 9.7 kB: 00
Updates | 3.5 kB: 00
Updates/primary_db | 3.9 MB
Setting up Install Process
No package unrar available.
Error: Nothing to do
Http://blog.rekfan.com /? P = 240
Objective: To enable CentOs to use Yum to automatically install the UnRar package
Procedure: vi/etc/yum. repos. d/dag. repo
Add the following content, and then save the 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
Then yum-y install rar unrar