Enable CentOs to use Yum to automatically install the UnRar package.

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.