RHEL/Centos7下使用EPEL和REMI源
2016-01-09 14:23
471 查看
一、安装EPEL源:
![](http://www.ha97.com/wp-content/uploads/2014/07/yum-repolist.jpg)
查看某个包的详细信息:
![](http://www.ha97.com/wp-content/uploads/2014/07/yum-info-htop.jpg)
列出epel源的所有包列表:
1、RHEL/CentOS 6.x的EPEL源安装方法:## RHEL/CentOS 6 64-Bit ##
注意:安装REMI库不要在启用了REMI库时运行yum update。因为REMI库的包名与RHEL/CentOS默认库中的相同,运行yum update可能会触发意外的更新。平时禁用REMI库,在你需要安装RMEI库中独有的包时再启用。安装REMI库之前,首先需要启用EPEL库,因为REMI中的一些包依赖于EPEL。安装步骤:
在CentOS 7上:
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm # rpm -ivh epel-release-7-5.noarch.rpm验证查看是否安装成功:
yum repolist
![](http://www.ha97.com/wp-content/uploads/2014/07/yum-repolist.jpg)
查看某个包的详细信息:
yum --enablerepo=epel info htop
![](http://www.ha97.com/wp-content/uploads/2014/07/yum-info-htop.jpg)
列出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.rpm2、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
相关文章推荐
- VirtualBox P2V Physical to Virtual in VirtualBox
- Vbscript 编写SecureCRT脚本
- install Windows 7 or Windows Server 2008 R2 using a USB Key
- 安装的遭遇---root.sh执行报错
- Amount of available memory limited to 256MB
- Issues with Synchronization
- birt跨域session失效问题
- There is no source code available for the current location
- Swift API Availability Checking
- CentOS安装scp命令的软件包openssh-clients
- windows2008 r2 安装apache无法启动问题
- NUMA对MySQL InnoDB的性能影响
- There were no servers available to complete the specified operation
- Zend Studio 8.0 Beta Available
- jsp出现404(The requested resource is not available.)
- linux的Yum的安装
- How to configure samba server in Linux Print
- curl返回值详解
- 用rvm安装ruby错误
- 修改默认的BANK-SWITCHING ROUTINE