From Fedora Project Wiki
m (与英文版本同步,内容翻译)
(更新翻译)
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
= 企业版 Linux 附加软件包(EPEL) =
= 企业版 Linux 附加软件包(EPEL) =


欢迎你来到企业版 Linux 附加软件包(EPEL)特别兴趣小组首页!
欢迎你来到企业版 Linux 附加软件包 (EPEL) 特别兴趣小组首页!


== 快速入门 ==
== 快速入门 ==


* {{packagelink|https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm|epel-release-latest-6}}
* {{packagelink|https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm|epel-release-latest-7}}
* {{packagelink|https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm|epel-release-latest-7}}
* {{packagelink|https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm|epel-release-latest-8}}
* {{packagelink|https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm|epel-release-latest-8}}


你可以从以上链接中的一个链接中检索已签名的二进制配置文件(根据安装目标计算机的版本号而不同)。 它们可以以root用户安装,操作如下:
你可以从以上链接中的一个链接中检索已签名的二进制配置文件(根据安装目标计算机的版本号而不同)。 它们可以以 root 用户安装,操作如下:
 
* RHEL/CentOS 6:
    # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm


* RHEL/CentOS 7:
* RHEL/CentOS 7:
     # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
     # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
* 在RHEL 7上,建议启用可选的,extras 和 HA存储库,因为EPEL包可能依赖于这些存储库中的包
* 在RHEL 7上,建议启用可选的,extras 和 HA存储库,因为EPEL包可能依赖于这些存储库中的包
     # subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"  --enable "rhel-ha-for-rhel-*-server-rpms"
     # subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"  --enable "rhel-ha-for-rhel-*-server-rpms"
* RHEL/CentOS 8:
* RHEL/CentOS 8:
     # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
     # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
* 在RHEL 8上,建议启用 "codeready-builder-for-rhel-8-*-rpms" 存储库, 因为EPEL包可能依赖于这些存储库中的包:
    # subscription-manager repos --enable "codeready-builder-for-rhel-8-$(arch)-rpms" 
* 在CentOS 8上,建议启用PowerTools存储库,因为EPEL包可能依赖于这些存储库中的包:
    # dnf config-manager --set-enabled powertools


== 什么是企业版 Linux 附加软件包(EPEL)? ==
== 什么是企业版 Linux 附加软件包(EPEL)? ==
Line 39: Line 37:
* [[About_EPEL/zh-cn|关于 EPEL]]
* [[About_EPEL/zh-cn|关于 EPEL]]


* [[EPEL/GuidelinesAndPolicies/zh-cn|EPEL 的规定和政策]]
* [[EPEL/GuidelinesAndPolicies|EPEL 的规定和政策]]


== EPEL 都提供什么类型或版本的软件包? ==
== EPEL 都提供什么类型或版本的软件包? ==
Line 48: Line 46:


* EPEL 8: [https://download.fedoraproject.org/pub/epel/8/Everything/x86_64/ x86_64], [https://download.fedoraproject.org/pub/epel/8/Everything/s390x/ s390x],[https://download.fedoraproject.org/pub/epel/8/Everything/ppc64le/ ppc64le], [https://download.fedoraproject.org/pub/epel/8/Everything/aarch64/ aarch64], [https://download.fedoraproject.org/pub/epel/8/Everything/SRPMS/ sources]
* EPEL 8: [https://download.fedoraproject.org/pub/epel/8/Everything/x86_64/ x86_64], [https://download.fedoraproject.org/pub/epel/8/Everything/s390x/ s390x],[https://download.fedoraproject.org/pub/epel/8/Everything/ppc64le/ ppc64le], [https://download.fedoraproject.org/pub/epel/8/Everything/aarch64/ aarch64], [https://download.fedoraproject.org/pub/epel/8/Everything/SRPMS/ sources]
* EPEL 7: [https://download.fedoraproject.org/pub/epel/7/x86_64/ x86_64], [https://dl.fedoraproject.org/pub/epel/7/ppc64/ ppc64], [https://download.fedoraproject.org/pub/epel/7/ppc64le/ ppc64le], [https://download.fedoraproject.org/pub/epel/7/aarch64/ aarch64], [https://download.fedoraproject.org/pub/epel/7/SRPMS/ sources]
* EPEL 7: [https://download.fedoraproject.org/pub/epel/7/x86_64/ x86_64], [https://dl.fedoraproject.org/pub/epel/7/ppc64/ ppc64], [https://download.fedoraproject.org/pub/epel/7/ppc64le/ ppc64le], [https://download.fedoraproject.org/pub/epel/7/SRPMS/ sources (EPEL-7 for aarch64 is no longer supported as Red Hat ended support for this architecture)]
* EPEL 6 ('''在 2020-11 停止维护'''): [https://download.fedoraproject.org/pub/epel/6/i386/ i386], [https://download.fedoraproject.org/pub/epel/6/x86_64/ x86_64], [https://download.fedoraproject.org/pub/epel/6/ppc64/ ppc64], [https://download.fedoraproject.org/pub/epel/6/SRPMS/ sources]


== 结束支持(EOL)的版本 ==
== 结束支持(EOL)的版本 ==
Line 55: Line 52:
'''下列版本已经结束支持'''
'''下列版本已经结束支持'''


NOTE: Due to major security changes in SSL in the last 10 years, older releases may not be able to directly point to these releases. As of 2021-01-22, EPEL-5 and 4 systems do not have the newer TLS1.2 algorithms that Internet servers are required to use for security reasons. The best method for working with these is to have a newer system mirror the entire archive and then for your systems to point to that mirror.
* EPEL 6: [https://download.fedoraproject.org/pub/archive/epel/6/ ]
* EPEL 5: [https://download.fedoraproject.org/pub/archive/epel/5/ ]
* EPEL 5: [https://download.fedoraproject.org/pub/archive/epel/5/ ]
* EPEL 4: [https://download.fedoraproject.org/pub/archive/epel/4/ ]
* EPEL 4: [https://download.fedoraproject.org/pub/archive/epel/4/ ]
Line 63: Line 63:


{{admon/tip|RHN 用户请注意|你还需要启用 ''''optional'''' 仓库以使用 EPEL 软件包,因为它们依赖这一仓库中的软件包。对于 RHN-Classic 用户可以通过开启 RHEL 的 [https://access.redhat.com/kb/docs/DOC-11313 subchannel] 来做到这一点。对于基于证书的订阅,参见 [https://access.redhat.com/site/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/entitlements-and-yum.html#supplementary-repos Red Hat Subscription Management Guide] 中的内容。对于 EPEL 7,除了 ''''optional'''' 仓库(rhel-7-server-optional-rpms),你可能还需要开启 ''''extras'''' 仓库(rhel-7-server-extras-rpms)。}}
{{admon/tip|RHN 用户请注意|你还需要启用 ''''optional'''' 仓库以使用 EPEL 软件包,因为它们依赖这一仓库中的软件包。对于 RHN-Classic 用户可以通过开启 RHEL 的 [https://access.redhat.com/kb/docs/DOC-11313 subchannel] 来做到这一点。对于基于证书的订阅,参见 [https://access.redhat.com/site/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/entitlements-and-yum.html#supplementary-repos Red Hat Subscription Management Guide] 中的内容。对于 EPEL 7,除了 ''''optional'''' 仓库(rhel-7-server-optional-rpms),你可能还需要开启 ''''extras'''' 仓库(rhel-7-server-extras-rpms)。}}
{{admon/tip|NOTE for RHEL 7 users with certificate subscriptions|EPEL 7 packages assume that the ''''optional'''' repository (rhel-7-server-optional-rpms for servers) and the ''''extras'''' repository (rhel-7-server-extras-rpms for servers) are enabled. You can do this with: <code>subscription-manager repos --enable rhel-7-server-optional-rpms --enable rhel-7-server-extras-rpms</code>}}
{{admon/tip|RHEL 7下具有证书授权的用户请注意|EPEL 7 packages assume that the ''''optional'''' repository (rhel-7-server-optional-rpms for servers) and the ''''extras'''' repository (rhel-7-server-extras-rpms for servers) are enabled. You can do this with: <code>subscription-manager repos --enable rhel-7-server-optional-rpms --enable rhel-7-server-extras-rpms</code>}}
{{admon/tip|RHEL 8下具有证书授权的用户请注意|EPEL  packages assume that the ''''codeready-builder'''' repository is enabled. You can do this with: <code>subscription-manager repos --enable "codeready-builder-for-rhel-8-$(arch)-rpms"</code>}}
{{admon/tip|CentOS 8 用户请注意|EPEL packages assume that the ''''powertools'''' repository is enabled. You can do this with: <code>dnf config-manager --set-enabled powertools</code>}}
{{admon/tip|CentOS 用户请注意|你可以直接通过 '''yum install epel-release''' 安装并启用 EPEL 源。这一软件包被包括在 CentOS 的 Extras 仓库中,并且默认启用。}}
{{admon/tip|CentOS 用户请注意|你可以直接通过 '''yum install epel-release''' 安装并启用 EPEL 源。这一软件包被包括在 CentOS 的 Extras 仓库中,并且默认启用。}}


Line 86: Line 88:
有以下几种方式与我们取得联系:  
有以下几种方式与我们取得联系:  


* {{fpchat|#epel}} IRC 频道。在这里你可以得到很多有价值的指导。
* {{fpchat|#epel}} IRC [https://libera.chat Libera Chat]  频道。在这里你可以得到很多有价值的指导。


* [https://www.redhat.com/mailman/listinfo/epel-devel-list epel-devel-list 邮件列表]是针对 EPEL 特别兴趣小组的电子邮件列表。
* [https://www.redhat.com/mailman/listinfo/epel-devel-list epel-devel-list 邮件列表]是针对 EPEL 特别兴趣小组的电子邮件列表。
Line 95: Line 97:


* 如果你在 EPEL 仓库中发现有软件包存在问题,请反馈至:[https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora+EPEL 这里]。注意选择 Bug 类别时选择"Fedora EPEL"。(本链接已选择)
* 如果你在 EPEL 仓库中发现有软件包存在问题,请反馈至:[https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora+EPEL 这里]。注意选择 Bug 类别时选择"Fedora EPEL"。(本链接已选择)
* 基础设施的问题 (例如 mirrors, repos, etc.) 应反馈给 [https://pagure.io/releng/issues Fedora releng].


* EPEL 特别兴趣小组在每周五的 17:00 UTC (周六 1:00 CST-China)都会在 IRC 频道 {{fpchat|#epel}} 进行交流,详细请查看 [https://apps.fedoraproject.org/calendar/epel/ epel-Fedocal] 上的详细信息,因为有时会议时间变更以及跳过。过往的会议记录见:http://meetbot.fedoraproject.org/teams/epel/
* EPEL 特别兴趣小组在每周五的 17:00 UTC (周六 1:00 CST-China)都会在 IRC 频道 {{fpchat|#epel}} 进行交流,详细请查看 [https://apps.fedoraproject.org/calendar/epel/ epel-Fedocal] 上的详细信息,因为有时会议时间变更以及跳过。过往的会议记录见:http://meetbot.fedoraproject.org/teams/epel/

Latest revision as of 10:33, 7 August 2021

Banner468x120.png

企业版 Linux 附加软件包(EPEL)

欢迎你来到企业版 Linux 附加软件包 (EPEL) 特别兴趣小组首页!

快速入门

你可以从以上链接中的一个链接中检索已签名的二进制配置文件(根据安装目标计算机的版本号而不同)。 它们可以以 root 用户安装,操作如下:

  • RHEL/CentOS 7:
   # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  • 在RHEL 7上,建议启用可选的,extras 和 HA存储库,因为EPEL包可能依赖于这些存储库中的包
   # subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"  --enable "rhel-ha-for-rhel-*-server-rpms"
  • RHEL/CentOS 8:
   # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
  • 在RHEL 8上,建议启用 "codeready-builder-for-rhel-8-*-rpms" 存储库, 因为EPEL包可能依赖于这些存储库中的包:
   # subscription-manager repos --enable "codeready-builder-for-rhel-8-$(arch)-rpms"   
  • 在CentOS 8上,建议启用PowerTools存储库,因为EPEL包可能依赖于这些存储库中的包:
   # dnf config-manager --set-enabled powertools

什么是企业版 Linux 附加软件包(EPEL)?

企业版 Linux 附加软件包(以下简称 EPEL)是一个 Fedora 特别兴趣小组,用以创建、维护以及管理针对企业版 Linux 的一个高质量附加软件包集,面向的对象包括但不限于 红帽企业版 Linux (RHEL)、 CentOS、Scientific Linux (SL)、Oracle Linux (OL) 。

EPEL 的软件包通常不会与企业版 Linux 官方源中的软件包发生冲突,或者互相替换文件。EPEL 项目与 Fedora 基本一致,包含完整的构建系统、升级管理器、镜像管理器等等。

更多信息请访问:

EPEL 都提供什么类型或版本的软件包?

你可以到 镜像列表 中任意一台可用的 EPEL 镜像服务器查看。

或者你也可以使用 repoview 来查看:

结束支持(EOL)的版本

下列版本已经结束支持

NOTE: Due to major security changes in SSL in the last 10 years, older releases may not be able to directly point to these releases. As of 2021-01-22, EPEL-5 and 4 systems do not have the newer TLS1.2 algorithms that Internet servers are required to use for security reasons. The best method for working with these is to have a newer system mirror the entire archive and then for your systems to point to that mirror.

如何获取 EPEL 的软件包?

EPEL 包含一个叫做 'epel-release' 的包,其中包含了用于软件包签名的 gpg 密钥和软件源的信息。安装这个包到你的企业版 Linux 上之后,你将可以通过使用类似于 yum 的工具来安装软件包和它们的依赖。在默认情况下,EPEL 仓库的稳定版本是开启的。除了 epel-release 源,还有一个叫做 'epel-testing' 仓库 包含尚未被视作稳定的软件,请自行斟酌开启的风险。

Idea.png
RHN 用户请注意
你还需要启用 'optional' 仓库以使用 EPEL 软件包,因为它们依赖这一仓库中的软件包。对于 RHN-Classic 用户可以通过开启 RHEL 的 subchannel 来做到这一点。对于基于证书的订阅,参见 Red Hat Subscription Management Guide 中的内容。对于 EPEL 7,除了 'optional' 仓库(rhel-7-server-optional-rpms),你可能还需要开启 'extras' 仓库(rhel-7-server-extras-rpms)。
Idea.png
RHEL 7下具有证书授权的用户请注意
EPEL 7 packages assume that the 'optional' repository (rhel-7-server-optional-rpms for servers) and the 'extras' repository (rhel-7-server-extras-rpms for servers) are enabled. You can do this with: subscription-manager repos --enable rhel-7-server-optional-rpms --enable rhel-7-server-extras-rpms
Idea.png
RHEL 8下具有证书授权的用户请注意
EPEL packages assume that the 'codeready-builder' repository is enabled. You can do this with: subscription-manager repos --enable "codeready-builder-for-rhel-8-$(arch)-rpms"
Idea.png
CentOS 8 用户请注意
EPEL packages assume that the 'powertools' repository is enabled. You can do this with: dnf config-manager --set-enabled powertools
Idea.png
CentOS 用户请注意
你可以直接通过 yum install epel-release 安装并启用 EPEL 源。这一软件包被包括在 CentOS 的 Extras 仓库中,并且默认启用。

你可以通过: Fedora 项目公钥列表 页面来验证 EPEL 源所有包的签名。

我可以信赖这些软件包吗?

EPEL 项目致力于提供优质和稳定的软件包。然而,EPEL 是由志愿者所维护的,并且不提供商业支持。这种项目的实质就是,软件包会随着单个版本的进程加入和退出 EPEL 仓库。此外,有可能偶尔一些不兼容的升级发布后需要管理员的操作。根据政策这些将会提前通知以给予管理员足够的时间去测试和提供建议。

如果你使用 EPEL,特别是依赖于 EPEL,我们强烈建议你订阅 epel-announce 邮件列表。该邮件列表仅用于通知管理员重要的更新。

EPEL 项目的历史与背景

当 Fedora 项目的维护人员发现可以采用管理 Fedora 项目的方法,来管理针对企业版 Linux 的附加软件包项目时,一个新的伟大的项目诞生了!项目诞生之初只是加入了一些在 RHEL 维护 Fedora 的工具。随着时间的发展,EPEL 仓库越来越丰富,成为一个大型的软件收集仓库。你可以查看 EPEL 项目的历史和理念 页面了解更多信息。

我如何做贡献?

EPEL 特别兴趣小组是一个不断寻找热爱本项目人士的小组。我们需要软件包维护、测试、问题反馈人员,以及 EPEL 推广人员和相关文档撰写人员。如果你想加入,请见 加入 EPEL 项目 页面。

与 EPEL 特别兴趣小组取得联系

有以下几种方式与我们取得联系:

  • #epel[?] IRC Libera Chat 频道。在这里你可以得到很多有价值的指导。
  • epel-announce 邮件列表是一个通知 EPEL 内容更新的邮件列表。
  • 如果你在 EPEL 仓库中发现有软件包存在问题,请反馈至:这里。注意选择 Bug 类别时选择"Fedora EPEL"。(本链接已选择)
  • 基础设施的问题 (例如 mirrors, repos, etc.) 应反馈给 Fedora releng.