|
原创)RHEL/CentOS 7.x使用EPEL第三方yum源 发表于: Linux, RHEL/CentOS/Fedora, 个人日记, 原创总结 | 作者: 谋万世全局者 标签: 7.x,centos,EPEL,RHEL,yum,原创 PS:EPEL的yum源是很稳定的第三方yum安装源,也是我经常使用的,基于CentOS/RHEL 7.x的也有了,整理如下: # wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm # yum install epel-release-7-0.2.noarch.rpm 或者 # rpm -ivh epel-release-7-0.2.noarch.rpm 验证查看是否安装成功: yum repolist 查看某个包的详细信息: yum --enablerepo=epel info htop 列出epel源的所有包列表: yum --disablerepo="*" --enablerepo="epel" list available | less 附: 1、RHEL/CentOS 6.x的EPEL源安装方法: ## RHEL/CentOS 6 32-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm ## RHEL/CentOS 6 64-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm 2、RHEL/CentOS 5.x的EPEL源安装方法: ## RHEL/CentOS 5 32-Bit ## # wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm # rpm -ivh epel-release-5-4.noarch.rpm ## RHEL/CentOS 5 64-Bit ## # wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm # rpm -ivh epel-release-5-4.no |
|