http://dl.fedoraproject.org/pub/epel/

 epel-release-latest-.noarch.rpm       redhat5
epel-release-latest-.noarch.rpm redhat6
epel-release-latest-.noarch.rpm redhat7 安装他们系统中
验证查看是否安装成功:
yum repolist

[root@localhost yum.repos.d]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror01.idc.hinet.net
repo id repo name status
base CentOS-5Server - Base 3,667
epel Extra Packages for Enterprise Linux 5 - x86_64 6,674
extras CentOS-5Server - Extras 266
updates CentOS-5Server - Updates 749
repolist: 11,356

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

root@localhost yum.repos.d]# yum --enablerepo=epel info htop
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror01.idc.hinet.net
Available Packages
Name : htop
Arch : x86_64
Version : 1.0.3
Release : 1.el5
Size : 88 k
Repo : epel
Summary : Interactive process viewer
URL : http://hisham.hm/htop/
License : GPL+
Description: htop is an interactive text-mode process viewer for Linux, similar to

列出epel源的所有包列表:
yum --disablerepo="*" --enablerepo="epel" list available | less [root@localhost yum.repos.d]# yum --disablerepo="*" --enablerepo="epel" list available |grep htop

htop.x86_64 1.0.3-1.el5 epel

这个可用于:查找相关的包集合,然后选择

remi库

http://rpms.famillecollet.com/enterprise/

  remi-release-4.rpm

rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
 

remi-release-5.rpm

rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
  

remi-release-6.rpm

rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
  

remi-release-7.rpm

rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi


yum --enablerepo=remi info htop  
两个源已安装OK

[root@localhost yum.repos.d]# pwd
/etc/yum.repos.d [root@localhost yum.repos.d]# ll
total
-rw------- root root Jun CenOS-Base.repo
-rw------- root root Jun CenOS-Base.repo~
-rw-r--r-- root root Aug epel.repo
-rw-r--r-- root root Aug epel-testing.repo
-rw-r--r-- root root Mar remi.repo
注意:安装REMI库不要在启用了REMI库时运行yum update。因为REMI库的包名与RHEL/CentOS默认库中的相同,运行yum update可能会触发意外的更新。平时禁用REMI库,在你需要安装RMEI库中独有的包时再启用。安装REMI库之前,首先需要启用EPEL库,因为REMI中的一些包依赖于EPEL。

最新文章

  1. 一个用react+nodejs实现的笔记本小应用
  2. Linux学习笔记(13)权限管理
  3. Codeforces Round #215 (Div. 2) C. Sereja and Algorithm
  4. C#中的async和await
  5. 在JavaScript中实现yield,实用简洁实现方式。
  6. java基础知识回顾之java Thread类学习(四)--java多线程安全问题(锁)
  7. FL2440移植Linux2.6.33.7内核
  8. QtSQL学习笔记(1)- 概述
  9. 分享5个主流的HTML5开发工具
  10. [ExtJS5学习笔记]第二节 Sencha Cmd 学习笔记 使你的sencha cmd跑起来
  11. 轨迹系列4——WebGIS中使用ZRender实现轨迹前端动态播放特效
  12. 光盘安装win7系统教程
  13. docker运行镜像报错:"write init-p: broken pipe"
  14. 灾难性遗忘(catastrophic forgetting)
  15. HDU - 3002 King of Destruction(最小割)
  16. C#单例和Unity单例
  17. OOAD理论知识小结
  18. 20155225 2016-2017-2 《Java程序设计》第六周学习总结
  19. 九度OJ 1006 ZOJ问题 (这题測试数据有问题)
  20. [转] CentOS7 用 kubeadm 快速安装 Kubernetes v1.13.4 最新教程

热门文章

  1. Atom package安装失败的解决方案
  2. php微信支付接口开发程序
  3. PHP常用代码段:
  4. 安卓AVD使用建议
  5. win7如何开启和关闭超级管理员账户
  6. BAT等互联网公司薪资分享
  7. ExtJs + Struts2 + JSON
  8. UVA- 1504 - Genghis Khan the Conqueror(最小生成树-好题)
  9. ♫【JS模式】偏函数
  10. 开源库CImg 数据格式存储之二(RGB 顺序)