Configuring the Epel Yum Source

Source: Internet
Author: User

EPEL, extra Packages for Enterprise Linux, which has a lot of very common software in this repository and is designed specifically for Rhel, is a good addition to the Rhel standard Yum source and is completely free to use, maintained by the Fedora Project, So if you are using Rhel, or centos,scientific and other Rhel-system Linux, you can use Epel's Yum source with great ease.

Configuring the Epel Yum Source is also fairly straightforward, for different Linux versions, as follows:

1. If you are using 6.x Rhel Linux, such as rhel6.x,centos6.x,scientific6.x, perform:

[Email protected] ~]# RPM-IVH http://mirrors.zju.edu.cn/epel/6/x86_64/epel-release-6-8.noarch.rpm

2. If you are using the 5.x series, perform:

[Email protected] ~]# RPM-IVH http://mirrors.zju.edu.cn/epel/5/x86_64/epel-release-5-4.noarch.rpm

3. If you are using the 4.x series, perform:

[Email protected] ~]# RPM-IVH http://mirrors.zju.edu.cn/epel/4/x86_64/epel-release-4-10.noarch.rpm

In fact, the package installed above is the release of 2 Yum source repo files under your system/etc/yum.repos.d/:

/etc/yum.repos.d/epel.repo official version, all the software is stable and can be trusted
/etc/yum.repos.d/epel-testing.repo Beta
But by default, only the official version is a valid state, if you want to try the beta version, you need to modify the/etc/yum.repos.d/epel-testing.repo, the enabled=0 to Enabled=1 can be changed.

In addition, if you want to use Yumdownloader to download the src.rpm package, you need to Epel.repo in the [Epel-source] domain enabled=0 also changed to Enabled=1.

Of course, if you don't want to use Epel's Yum source for the time being, change the enabled=1 in the corresponding file to Enabled=0, and if you don't need it, uninstall it directly:

[Email protected] ~]# rpm-e epel-release

Note: The above installed RPM package, if the official upgrade, the link has changed, to the official confirmation.

Configuring the Epel Yum Source

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.