EPEL, extra Packages for Enterprise Linux, is designed for Rhel, is completely free to use and is maintained by the Fedora project, so if you are using Rhel Linux, you can use the EPEL yum source with great ease.
32-bit System selection:
RPM-IVH http://mirror.suhu.com/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
64-bit System selection:
RPM-IVH http://mirror.suhu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
Import Key:
Rpm–import/etc/pki/rpm-gpg/rpm-gpg-key-epel-6
Installing the Yum source priority plug-in
The Yum priorities plugin can be used to force a protection source. It allows system administrators to prioritize certain sources (such as the official source of a Linux distribution) by setting different priorities for each source, ensuring system stability (and may not be able to update to the latest version of the software available on other sources).
Yum Install Yum-priorities
When you use the command Yum list, if an error
Error:cannot retrieve Metalink for Repository:epel. Verify its path and try again
Go check the Epel.repo file.
#baseurl =http://download.fedoraproject.org/pub/epel/6/$basearch Uncomment this line
Mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch= $basearch Note this line
Then use it and there's no problem.
Original source:
Time Note timesnotes.com
Original works, reproduced please specify the source: http://timesnotes.com/?p=13
This article is from the "Re Notes" blog, make sure to keep this source http://timesnotes.blog.51cto.com/1079212/1679044
Rhel/centos Configuring Epel source