RedHat系Linux启用EPEL源
本文信息
创建时间: 2022.04.01 19:28:42
更新时间: 2022.10.11 21:06:43
EL9
CentOS Stream 9
Bash |
---|
| dnf config-manager --set-enabled crb
dnf install epel-release epel-next-release
|
RHEL 9 Beta
Bash |
---|
| dnf config-manager --set-enabled crb
dnf install epel-release epel-next-release
|
EL8
CentOS Stream 8
Bash |
---|
| dnf config-manager --set-enabled powertools
dnf install epel-release epel-next-release
|
RHEL 8
Bash |
---|
| subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
CentOS Linux 8, AlmaLinux 8, Rocky Linux 8
Bash |
---|
| dnf config-manager --set-enabled powertools
dnf install epel-release
|
EL7
RHEL 7
Bash |
---|
| subscription-manager repos --enable rhel-*-optional-rpms \
--enable rhel-*-extras-rpms \
--enable rhel-ha-for-rhel-*-server-rpms
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
CentOS 7
参考