centos安装epel

#2016.08.13更新

1
yum install epel-release

http://mirrors.fedoraproject.org/publiclist/EPEL/

http://www.codesky.net/article/201110/170019.html

64位系统选择:

rpm  -ivh  epel-release-6-5.noarch.rpm

导入key:

rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

如果用比较新的软件,用epel-test.repo这个文件就行了

别忘了安装yum install yum-priorities