epel centos_什么是EPEL存储库以及如何为RedHat和CentOS启用

EPEL是Fedora提供的开源项目,为RedHat、CentOS和Scientific Linux提供更新的软件包。本文详细介绍了如何为64位和32位的CentOS 6、CentOS 7以及RedHat 6添加并启用EPEL存储库,包括下载rpm包、安装、验证、配置和启用/禁用EPEL仓库的方法。
摘要由CSDN通过智能技术生成
epel centos

epel centos

Extra Packages for Enterprise Linux a.k.a EPEL is open source and free community supported project by Fedora. EPEL provides high quality uptodate packages for its upstream distributions like RedHat, CentOS and Scientific Linux. EPEL is mainly provides yum and dnf based rpm packages.

适用于企业Linux的额外软件包(又名EPEL)是Fedora提供的开源和免费社区支持的项目。 EPEL为RedHat,CentOS和Scientific Linux等上游发行版提供了高质量的最新软件包。 EPEL主要提供基于yum和dnf的rpm软件包。

将EPEL储存库添加到CentOS和RedHat (Add EPEL Repository To CentOS and RedHat)

First we need to add repository information to our system. As we know CentOS and RHEL are the same distributions so all commands will be the same.

首先,我们需要将存储库信息添加到我们的系统中。 我们知道CentOS和RHEL是相同的发行版,因此所有命令都将相同。

为CentOS添加EPEL,为64位添加RedHat 6 (Add EPEL For CentOS and RedHat 6 For 64 Bit)

We will download the package with wget

我们将使用wget下载软件包

$ wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

We will install epel package with rpm command with root privileges by using sudo.

我们将使用sudo使用具有root特权的rpm命令安装epel软件包。

$ sudo rpm -ivh epel-release-6-8.noarch.rpm

为CentOS添加EPEL,为32位添加RedHat 6 (Add EPEL For CentOS and RedHat 6 For 32 Bit)

We will download the package with wget

我们将使用wget下载软件包

$ wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

We will install epel package with rpm command with root privileges by using sudo.

我们将使用sudo使用具有root特权的rpm命令安装epel软件包。

$ sudo rpm -ivh epel-release-6-8.noarch.rpm

为CentOS和RedHat 7 64位添加EPEL (Add EPEL F

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值