Installing the EPEL Repository on CentOS or RHEL

By polfilm,

  Filed under: CentOS
  Comments: None

CentOS 6 / RHEL 6 [Updated: 2013.10.01]

# rpm -ivh http://mirror.karneval.cz/pub/linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm --test
warning: /var/tmp/rpm-tmp.Hrps3E: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY

Now copy and import a key (.txt file with key ID as name of the file. Upper Case)

# cd ~
# wget --no-check-certificate https://fedoraproject.org/static/0608B895.txt
# mv 0608B895.txt /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Verify

# rpm -qa gpg*
gpg-pubkey-0608b895-4bd22942

Install EPEL Repo

# rpm -Uvh http://mirror.karneval.cz/pub/linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm

Be the first to write a comment.

Your feedback

You must be logged in to post a comment.