1.首先檢查系統是否安裝epel-release:
shell
#rpm -q epel-release package epel-release is not installed
2.若是沒有安裝,則install:
spa
[root@flc ~]# sudo rpm -ivh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm [root@flc ~]# rpm -q epel-release epel-release-6-8.noarch
3 sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6code
yum clean all && yum update yum makecache