EPEL 代表 “Extra Packages for Enterprise Linux”,它是一个自由开源的附加软件包仓库,可用于 CentOS 和 RHEL 服务器。顾名思义,EPEL 仓库提供了额外的软件包,这些软件在 CentOS 8 和 RHEL 8 的默认软件包仓库中不可用,需要安装EPEL rpm 包,搭建epel 仓库。

在网络通畅的Redhat企业8主机上执行以下命令安装EPEL rpm 包

dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y
为Redhat 8 安装 epel 仓库
EPEL rpm 包成功安装后,它将自动启用并配置其 yum/dnf 仓库。运行以下 dnf 或 yum 命令,以验证是否启用了 EPEL 仓库

dnf repolist epel
为Redhat 8 安装 epel 仓库

相关文章: