正在加载...

PS:EPEL和remi的yum源是很稳定的第三方yum安装源,也是我经常使用的,基于CentOS/RHEL 7.x的也有了,整理如下:(2016.06.24更新了下载链接)

一、安装EPEL源:

# rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-7.noarch.rpm
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

验证查看是否安装成功:
yum repolist


查看某个包的详细信息:
yum --enablerepo=epel info htop

列出epel源的所有包列表:
yum --disablerepo="*" --enablerepo="epel" list available | less

附:
1、RHEL/CentOS 6.x的EPEL源安装方法:

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

二、安装remi源:
注意:安装REMI库不要在启用了REMI库时运行yum update。因为REMI库的包名与RHEL/CentOS默认库中的相同,运行yum update可能会触发意外的更新。平时禁用REMI库,在你需要安装RMEI库中独有的包时再启用。安装REMI库之前,首先需要启用EPEL库,因为REMI中的一些包依赖于EPEL。

安装步骤:
在CentOS 7上:

# rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
# rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi

在CentOS 6上:

# rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
# rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi

默认REMI是禁用的。要搜索或安装REMI仓库中的包,使用这些命令:

# yum --enablerepo=remi search php-fpm
# yum --enablerepo=remi install php-fpm

: http://www.ha97.com/5649.html

本文相关评论 - 才 3 条评论
sky
2014-07-24 10:31:00
Google Chrome 21.0.1180.89 Google Chrome 21.0.1180.89 Windows XP Windows XP

总结的很好!

2014-11-19 20:21:15
Internet Explorer 7.0 Internet Explorer 7.0 Windows 7 Windows 7

但是CentOS 7.0可以使用wdcp吗

2015-01-07 09:56:20
Google Chrome 35.0.1916.153 Google Chrome 35.0.1916.153 Windows 7 x64 Edition Windows 7 x64 Edition

官方有说明。centos可以直接“yum install epel-release”