一.安装清华大学开源软件镜像站的epel镜像,即yum源 yum install epel-release 二.安装epel镜像,即yum源 1. 备份(如有配置其他epel源) mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup mv /etc/yum.repos.d/epel-testing.repo /epel/epel-release-latest-8.noarch.rpm epel(RHEL 7) wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com /repo/epel-7.repo epel(RHEL 6) wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel -6.repo epel(RHEL 5) wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-5.repo 2)
安装命令: yum install epel-release 没有报错的话,那么EPEL就安装完毕了。 如果上述命令还是解决不了问题,那就必须有针对性的安装了。 Linux 5.x wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm rpm -Uvh epel-release /epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6*.rpm #CentOS and Red Hat Enterprise Linux 7.x wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm rpm -Uvh epel-release -7*.rpm 你还可以在此查看每个系统对应的最新的EPEL版本
What is EPEL EPEL (Extra Packages for Enterprise Linux) is open source and free community based repository Most of the epel packages are maintained by Fedora repo. Why we use EPEL repository? RHEL/CentOS 7 64 Bit ## RHEL/CentOS 7 64-Bit ## wget http://dl.fedoraproject.org/pub/epel/epel-release-latest ## wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -ivh epel-release -6-8.noarch.rpm ## RHEL/CentOS 6 64-Bit ## wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release
centos默认的源软件不是很全,大部分时候需要添加EPEL源。 centos5.x wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm wget http:// rpms.famillecollet.com/enterprise/remi-release-5.rpm sudo rpm -Uvh remi-release-5*.rpm epel-release-5 *.rpm centos6.x wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/remi.repo 设置remi repository
后来有一个朋友告诉我用epel,用了之后感觉很爽。 一,什么是epel 如果既想获得 RHEL 的高质量、高性能、高可靠性,又需要方便易用(关键是免费)的软件包更新功能,那么 Fedora Project 推出的 EPEL(Extra Packages 这样的话,依赖关系可以保重 三,安装epel,centos6选6,5就选5 32位系统选择: rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release /RPM-GPG-KEY-EPEL-6 rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-5 如果用比较新的软件,用epel-test.repo这个文件就行了 别忘了安装yum install yum-priorities [root@localhost yum.repos.d]# ls |grep epel epel.repo epel-testing.repo
比如现在流行的 nginx,Certbot 工具等等都可以使用 EPEL 很方便的安装更新。 说白话就是有了 EPEL 可以更简单、容易的安装、更新软件包了。 当然了这只是 EPEL 包含的众多软件包的一个而已。 老魏使用的系统环境:CentOS7.0 1、安装 EPEL 源可以直接通过执行命令: yum install epel-release 进行安装。 2、如果以上命令无法安装可以尝试以下方法 CentOS/RHEL 5 : rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest CentOS/RHEL 7 : rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Ok 3、使用 EPEL 源安装软件的方法:以后可以执行命令 yum install 软件包名进行安装常用软件了,EPEL 仓库里面包含了 nginx、Certbot 工具等等一些常用软件都更方便安装了。
添加yum资源 epel 和 remi 2018年10月31日 11:48:46 BossNoNo 阅读数 480 版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明 比较常用yum源,epel 和 remi 。 1、安装 EPEL 源。 yum install epel-release epel-release这一软件包被包括在 CentOS 的 Extras 仓库中,安装后EPEL源已默认启用epel仓库。 如图: ? 详情见:https://fedoraproject.org/wiki/EPEL/zh-cn 2、安装remi 源 CentOS 6 : wget https://rpms.remirepo.net/enterprise
反正跑完都是完毕) yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel unixODBC-devel 9.安装 epel yum install epel-release -y
在 CentOS 7 上启用EPEL存储库 在 CentOS 7 上启用 EPEL 存储库是一项非常简单的任务,因为 EPEL rpm 包包含在 CentOS extras 存储库中。 要安装EPEL发行包,请键入以下命令: sudo yum install epel-release 请运行命令 yum repolist 来验证是否已启用 EPEL 存储库,这个命令会列出所有可用存储库 输出的信息中应包含 EPEL 存储库这一行。 要启用EPEL存储库,请运行以下命令,该命令将下载并安装EPEL发行包: sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest 总结 有关 EPEL 存储库的更多信息,请参阅 EPEL 文档。
EPEL的全称叫 Extra Packages for Enterprise Linux 。 EPEL是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。装上了 EPEL之后,就相当于添加了一个第三方源。 在某些情况下,通过 EPEL repo 安装一些软件比其他安装方式方便很多。 众所周知,rpmfusion.org 主要为桌面发行版提供大量rpm包,而EPEL则为服务器版本提供大量的rpm包,而且大多数rpm包在官方 repository 中是找不到的。 2.3 其他安装方式 通过 rpm 包可以安装,下载地址如下:https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
今天在CentOS6上运行yum makecache命令时出现"Error: Cannot retrieve metalink for repository: epel. rpm -qa |grep ca-certificates ca-certificates-2013.1.94-65.0.el6.noarch 02 证书更新 yum --disablerepo=epel
Epel中的大部分软件包由Fedora repo维护。 为什么使用EPEL仓库? 7/6/5上开启EPEL 首先你需要使用wget这样的工具下载所需文件,然后在系统上使用RPM开启EPEL仓库。 /pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm RHEL/CentOS 5 32 /pub/epel/4/x86_64/epel-release-4-10.noarch.rpm # rpm -ivh epel-release-4-10.noarch.rpm 如何验证EPEL仓库 只需运行下面的命令验证 Epel中的大部分软件包由Fedora 译者观点 本文介绍了EPEL的基础知识,对个人很有帮助,了解了EPEL的起源和维护组织。 用户在安装EPEL时要安装和系统对应的正确版本。
CentOS 修改源为163和指定epel源和Docker安装 地址:http://mirrors.163.com/.help/centos.html 使用说明 首先备份/etc/yum.repos.d yum.repos.d/(操作前请做好相应备份) CentOS5 CentOS6 运行yum makecache生成缓存 eple源: rpm -Uvh http://ftp.sjtu.edu.cn/fedora/epel /6/i386/epel-release-6-8.noarch.rpm docker 安装: You will need RHEL 6.5 or higher, with a RHEL 6 kernel
EPEL 仓库的先决条件 最小化安装的 CentOS 8 和 RHEL 8 服务器 root 或 sudo 管理员权限 网络连接 在 RHEL 8.x 服务器上安装并启用 EPEL 仓库 登录或 SSH https://dl.Fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y 上面命令的输出将如下所示 EPEL rpm 包成功安装后 让我们在 EPEL 仓库上执行一些基本操作。 epel ...... 从 EPEL 仓库安装软件包 假设我们要从 EPEL 仓库安装 htop 包,运行以下 dnf 命令, 语法: # dnf –enablerepo=”epel” install < 包名> [root@
后来发现Centos8安装screen需要使用epel来安装,安装epel后,再安装screen,解决centos8无法安装screen的问题。 1、安装epel sudo yum install epel-release 2、安装screen sudo yum install screen 可以看到centos8已经正常安装并可以使用screnn
yum list|grep ambari时出现Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again错误 解决方法: 修改/etc/yum.repos.d/epel.repo文件,将第3行去掉注释,并把第四行注释掉。 打开/etc/yum.repos.d/epel.repo,将 [epel] name=Extra Packages for Enterprise Linux 6 - $basearch #baseurl =http://download.fedoraproject.org/pub/epel/6/$basearch mirrorlist=https://mirrors.fedoraproject.org/ repo=epel-6&arch=$basearch failovermethod=priority 问题解决。
2.1.4-1.el8 epel _64 1.2-1.el8 epel 3.4.0-3.el8 epel 2023 epel.repo -rw-r--r-- 1 root root 1332 Apr 17 2023 epel.repo.rpmnew -rw-r--r-- 1 root root 1779 Apr 17 2023 epel-testing-modular.repo -rw-r--r-- 1 root root 1431 Apr 17 2023 epel-testing.repo [root
备份(如有配置其他epel源) mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup mv /etc/yum.repos.d/epel-testing.repo 下载新repo 到/etc/yum.repos.d/ epel(RHEL 8) 1)安装 epel 配置包 yum install -y https://mirrors.cloud.tencent.com |' /etc/yum.repos.d/epel* epel(RHEL 7) wget -O /etc/yum.repos.d/epel.repo http://mirrors.cloud.tencent.com /repo/epel-7.repo epel(RHEL 6) wget -O /etc/yum.repos.d/epel.repo http://mirrors.cloud.tencent.com/repo /epel-6.repo epel(RHEL 5) wget -O /etc/yum.repos.d/epel.repo http://mirrors.cloud.tencent.com/repo/epel
epel [root@check-list ~]# yum list all | grep "^epel" epel-release.noarch 6-8 -rw-r--r--. 1 root root 1056 Nov 5 2012 epel-testing.repo [root@check-list ~]# rpm -qa | grep epel epel-release-6-8.noarch [root@check-list ~]# rpm -ql epel-release-6-8.noarch /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL -6 /etc/rpm/macros.ghc-srpm /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel.repo /usr/share/ doc/epel-release-6 /usr/share/doc/epel-release-6/GPL [root@check-list ~]#
EPEL概述 EPEL(Extra Packages for Enterprise Linux)是一个社区驱动的项目,为基于Red Hat Enterprise Linux(RHEL)和其衍生发行版(如 通过使用 EPEL 软件仓库,用户可以方便地安装和更新各种常用的软件包,而无需手动编译和安装。 EPEL 项目提供了一个额外的软件源配置文件,使用户能够使用包管理工具(如yum和dnf)从 EPEL 仓库中获取软件包。 要使用 EPEL 软件仓库,在安装了适当的发行版(如 CentOS)后,只需执行以下命令即可将 EPEL 仓库添加到系统中: yum install epel-release 添加完 EPEL 仓库后, 就可以使用 yum 或 dnf 命令安装 EPEL 中的软件包,例如: yum install nginx dnf install git 这将从 EPEL 仓库中安装 Nginx 和 Git 软件包。