在CentOS上安装第三方软件库EPEL

2017/6/21 17:56:45      点击:

安装第三方的软件,经常要用到EPEL,写在这里当做备用,随时可以查找【CENTOS 5的地址官方移动到归档了,路径不同】

centos5 32位:
rpm -ivh http://archives.fedoraproject.org/pub/archive/epel/5/i386/epel-release-5-4.noarch.rpm
centos5 64位:
rpm -ivh http://archives.fedoraproject.org/pub/archive/epel/5/x86_64/epel-release-5-4.noarch.rpm
Centos6 32位:
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
centos6 64位:
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
centos7 64位:
rpm -ivh  http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm