在CentOS/RHEL 7.X安装 EPEL repo 的方法

一 背景

RHEL以及他的衍生发行版如CentOS、Scientific Linux为了稳定,官方的rpm repository提供的rpm包往往是很滞后的,而EPEL恰恰可以解决这两方面的问题。EPEL的全称叫 Extra Packages for Enterprise Linux 。EPEL是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。装上了 EPEL之后,就相当于添加了一个第三方源。在某些情况下,通过 EPEL repo 安装一些软件比其他安装方式方便很多。

众所周知,rpmfusion.org 主要为桌面发行版提供大量rpm包,而EPEL则为服务器版本提供大量的rpm包,而且大多数rpm包在官方 repository 中是找不到的。绝大多数rpm包要比官方 repository 的rpm包版本要新。

二 操作步骤

2.1 执行安装命令

yum -y install epel-release

2.2 查看结果

yum repolist
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile* base: ap.stykers.moe* epel: mirror01.idc.hinet.net* extras: mirrors.cn99.com* updates: mirrors.njupt.edu.cn
repo id                                                              repo name                                                                                           status
base/7/x86_64                                                        CentOS-7 - Base                                                                                     10019
*epel/x86_64                                                         Extra Packages for Enterprise Linux 7 - x86_64                                                      12973
extras/7/x86_64                                                      CentOS-7 - Extras                                                                                     371
updates/7/x86_64                                                     CentOS-7 - Updates                                                                                   1163
repolist: 24526

我们可以与安装之前对比一下:

yum repolist
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile* base: mirrors.nwsuaf.edu.cn* extras: mirrors.nwsuaf.edu.cn* updates: mirrors.nwsuaf.edu.cn
repo id                                                                            repo name                                                                             status
base/7/x86_64                                                                      CentOS-7 - Base                                                                       10019
extras/7/x86_64                                                                    CentOS-7 - Extras                                                                       371
updates/7/x86_64                                                                   CentOS-7 - Updates                                                                     1163
repolist: 11553

效果不言而喻。

2.3 其他安装方式

通过 rpm 包可以安装,下载地址如下:<https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm&gt;

转载于:https://blog.51cto.com/3842834/2362050

在CentOS/RHEL 7.X安装 EPEL repo 的方法相关推荐

  1. 在CentOS/RHEL 7.X安装 EPEL repo 的方法 1

    在CentOS/RHEL 7.X安装 EPEL repo 的方法 一 背景 RHEL以及他的衍生发行版如CentOS.Scientific Linux为了稳定,官方的rpm repository提供的 ...

  2. 如何在CentOS 5/6上安装EPEL源

    如何在CentOS 5/6上安装EPEL源 2013-12-04 14:45 译者:NearTan Linux中国 字号:T | T 我们可以很容易地通过yum命令从EPEL源上获取上万个在CentO ...

  3. linux epel7安装,在CentOS6.x或CentOS7.x上安装EPEL Repo,Extra Packages for Enterprise Linux (EPEL)...

    在CentOS6.x或CentOS7.x上安装EPEL Repo,Extra Packages for Enterprise Linux (EPEL) Error: Cannot retrieve m ...

  4. CentOS如何下载安装EPEL源

    今天给大家介绍下CentOS下载安装EPEL源的步骤!希望大家喜欢! EPEL 是什么? EPEL (Extra Packages for Enterprise Linux,企业版Linux的额外软件 ...

  5. exfat安装linux系统,在CentOS 7系统上安装exFAT驱动器/启用exFAT支持的方法

    本文介绍在CentOS 7操作系统上安装exFAT驱动器的方法.exFAT(扩展文件分配表)是一种专有的Microsoft文件系统,针对闪存设备(如SD卡和USB闪存驱动器)进行了优化,它旨在取代旧的 ...

  6. CentOS/RHEL Linux安装EPEL第三方软件源

    EPEL(Extra Packages for Enterprise Linux) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS等提供高质量软件包的项目.装上了EPEL,就 ...

  7. Centos上安装EPEL

    RHEL以及他的衍生发行版如CentOS.Scientific Linux为了稳定,官方的rpm repository提供的rpm包往往是很滞后的,当然了,这样做这是无可厚非的,毕竟这是服务器版本,安 ...

  8. Centos/RedHat 7/6/5切换阿里云源并安装EPEL/IUS/REMI仓库

    Centos/RedHat 7/6/5切换阿里云源并安装EPEL/IUS/REMI仓库 CentOS安装完毕后,默认的yum源是国外的,国内访问速度很慢,需要切换为国内的源,这里选用的是阿里云的源.此 ...

  9. 如何在centos上安装epel源

    一.EPEL是什么? EPEL (Extra Packages for Enterprise Linux,企业版Linux的额外软件包) 是Fedora小组维护的一个软件仓库项目,为RHEL/Cent ...

最新文章

  1. 32位linux运行64位jdk,linux64位操作系统装32位jdk解决方法
  2. Open SAP 上 SAP Fiori Elements 公开课第一单元学习笔记
  3. java怎么把数据返回给客户端_将数据从Servlet返回到Java客户端
  4. python比较两张图片是否一样_python实战===用python对比两张图片的不同
  5. [Erlang 0022] It solves the right problems in the right way at the right time
  6. 11.PHP核心技术与最佳实践 --- 高性能网站架构方案
  7. golang json string remove field
  8. python excel数据分析师培训_从零开始学可视化数据分析师就业课程(Excel、 MySQL、Power BI、Tableau、python、R)...
  9. Mac安装Python并使用GUI界面设计
  10. 51单片机学习:蜂鸣器实验
  11. 一键查询 | 2020年最新SCI期刊影响因子报告
  12. 微众银行助力普惠金融实现高质量发展
  13. 7-45 航空公司 VIP 客户查询(25 分)
  14. android 标题字体大小,如何修改android studio标题字体大小
  15. Network Slimming——有效的通道剪枝方法(Channel Pruning)
  16. Python中常见字符串去除字符串空格的方法
  17. 腾讯云主机linux(centos7)服务器基本操作和安装日志
  18. Highly Efficient Natural Image Matting
  19. 【youcans 的 OpenCV 例程200篇】124. 孔洞填充的泛洪算法
  20. 金牧饲料配方软件的使用方法

热门文章

  1. 如何从Exchange Server 2007/2010上删除邮件
  2. Cracking the coding interview--Q1.2
  3. 详解六大伤硬盘软件及解决方法
  4. R-error: 错误: nul character not allowed (line 1)
  5. MATLAB符号计算
  6. random.choice()使用
  7. Protocol Buffer序列化协议及应用
  8. Laravel-自定全局函数
  9. Spring Cloud微服务实战pdf
  10. nginx同IP、同端口、不同域名时的转发