RHEL/CentOS 7.x使用EPEL第三方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 centos

驗證查看是否安裝成功:
yum repolist


查看某個包的詳細信息:
yum --enablerepo=epel info htop
less

列出epel源的全部包列表:
yum --disablerepo="*" --enablerepo="epel" list available | less spa

附:
一、RHEL/CentOS 6.x的EPEL源安裝方法: get

## 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 it

二、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.noarch.rpm im

相關文章
相關標籤/搜索