yum repolistIf you do not see EPEL in the output, then you have not enabled it yet. https://fedoraproject.org/wiki/EPEL 1. download the following package from fedoraproject.org
# The following link is for CentOS 5 wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm # check for and report potential conflicts rpm -ivh epel-release-5-4.noarch.rpm --testDuring test you might see the following NONKEY warning msg:
"warning: epel-release-5-4.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6"
Download the specific GPG key for EPEL repository from fedoraproject.org/keys by matching the key ID.
In my case I need key with ID 217521f6.
wget http://fedoraproject.org/static/217521F6.txt mv 217521F6.txt /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPELVerify that the key got installed
rpm -qa gpg*Now run the test command again you should not see NOKEY msg:
sudo rpm -ivh epel-release-5-4.noarch.rpm --test2. Enable the repository:
sudo rpm -ivh epel-release-5-4.noarch.rpm
[...] http://b2ctran.wordpress.com/2013/03/08/enable-epel-repository-on-centos/ [...]
ReplyDelete[...] To install EPEL follow this link: http://b2ctran.wordpress.com/2013/03/08/enable-epel-repository-on-centos/ [...]
ReplyDelete