CentOS7/6/5安装EPEL源

  • A+
所属分类:操作系统 系统运维
输入正文标题广告代码(非移动端)

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.noarch.rpm
安装RPMForege源64位系统:wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpmrpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
32位的系统:wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpmrpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

# 也可以到 http://packages.sw.be/rpmforge-release/去寻找合适的RPMForege-Release安装包

输入正文底部广告代码(非移动端)
输入评论上方广告代码(非移动端)

发表评论

:?::razz::sad::evil::!::smile::oops::grin::eek::shock::???::cool::lol::mad::twisted::roll::wink::idea::arrow::neutral::cry::mrgreen:

目前评论:14   其中:访客  4   博主  0

    • 嫦曦 嫦曦 5

      [不活了]

      • 嫦曦 嫦曦 5

        [不活了]

        • 嫦曦 嫦曦 5

          这个可以回,这个真得回!

          • 嫦曦 嫦曦 5

            这个可以回,这个真得回!