4年前 (2015-09-20)  操作系统 系统运维 |   14 条评论  127 
百度已收录 | 文章评分 0 次,平均分 0.0

EPEL的yum源是很稳定的第三方yum安装源,也是我经常使用的,基于CentOS/RHEL 7.x的也有了,整理如下:

# wget <a href="http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm" target="_blank">http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm</a>
# 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 <a href="http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm" target="_blank">http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm</a>
# rpm -ivh epel-release-6-8.noarch.rpm
## RHEL/CentOS 6 64-Bit ##
# wget <a href="http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm" target="_blank">http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</a>
# rpm -ivh epel-release-6-8.noarch.rpm

2、RHEL/CentOS 5.x的EPEL源安装方法:

## RHEL/CentOS 5 32-Bit ##
# wget <a href="http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm" target="_blank">http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm</a>
# rpm -ivh epel-release-5-4.noarch.rpm
## RHEL/CentOS 5 64-Bit ##
# wget <a href="http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm" target="_blank">http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm</a>
# rpm -ivh epel-release-5-4.noarch.rpm
安装RPMForege源
64位系统:
wget <a href="http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm" target="_blank">http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm</a>
rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
32位的系统:
wget <a href="http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm" target="_blank">http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm</a>
rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

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

 

除特别注明外,本站所有文章均为张子豪博客(ZihaoBlog)原创,转载请注明出处来自https://www.zihao123.com/354.html

关于
93年菜鸟云主机运维。

发表评论

表情 格式
  1. 这个可以回,这个真得回!

    嫦曦 评论达人 LV.1 4年前 (2015-11-28) [0] [0]
  2. 这个可以回,这个真得回!

    嫦曦 评论达人 LV.1 4年前 (2015-11-28) [0] [0]
  3. [不活了]

    嫦曦 评论达人 LV.1 4年前 (2015-11-28) [0] [0]
  4. [不活了]

    嫦曦 评论达人 LV.1 4年前 (2015-11-28) [0] [0]
切换注册

登录

忘记密码 ?

您也可以使用第三方帐号快捷登录

切换登录

注册

×
订阅图标按钮