如何在 CentOS Stream 9 中获取 epel-release / epel-release-next / powertools

Dan*_*ous 15 yum centos dnf

我最近安装了 CentOS Stream 9,但发现按照我在网上找到的任何说明都无法让 epel 正常工作。CentOS 8 / CentOS Stream 8 的资源不起作用,CentOS 9 Stream 的资源几乎没有。

我想安装 epel 这样我就可以安装类似的软件包ddclient,但我不明白。通常我会这样做:

dnf install epel-release
dnf config-manager --set-enabled powertools  # I have also tried PowerTools
Run Code Online (Sandbox Code Playgroud)

但我收到这个错误:

Error: No matching repo to modify: powertools.
Run Code Online (Sandbox Code Playgroud)

我已经搞砸了很多尝试获取 epel 所以我的设置现在可能会搞砸,但这里是我当前安装的相关软件包和存储库:

$ dnf list installed | grep -E 'centos|epel'
centos-gpg-keys.noarch                        9.0-3.el9                      @baseos
centos-logos.x86_64                           90.4-1.el9                     @AppStream
centos-logos-httpd.noarch                     90.4-1.el9                     @appstream
centos-stream-release.noarch                  9.0-3.el9                      @baseos
centos-stream-repos.noarch                    9.0-3.el9                      @baseos
epel-release.noarch                           8-13.el8                       @@commandline

$ dnf repolist
repo id                                                              repo name
Plex                                                                 Plex
appstream                                                            CentOS Stream 9 - AppStream
baseos                                                               CentOS Stream 9 - BaseOS
Run Code Online (Sandbox Code Playgroud)

任何帮助将不胜感激,我几乎只是擦除并安装 CentOS Stream 8。

谢谢!

Max*_*ton 22

powertoolscrb现在称为(CodeReady Linux Builder,或 epel 9)。要启用它,请运行

dnf config-manager --set-enabled crb
Run Code Online (Sandbox Code Playgroud)

对于其他版本的 epel,请查看Fedora的文档。

  1. https://developers.redhat.com/blog/2018/11/15/introducing-codeready-linux-builder