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