有时候,为了快速安装某个软件,我们不得不用yum的方法来安装,可是有时候搜索不到yum包又很让人头疼,下面我们来安装下epel,增加yum源的方法来解决:
以centos为例,下面是安装方法:
Centos6 32位:
centos6 64位:rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
centos5 32位:rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
centos5 64位:rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm