ansible EPRL源

红帽(CentOS)需要配置EPEL源

RHEL/CentOS 6 

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm


RHEL/CentOS 7

yum install  https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

在RHEL 7上(CentOS7不用管),建议还启用可选,额外和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软件包可能取决于其中的软件包:

ARCH=$( /bin/arch )

subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms"

在CentOS 8上,建议还启用PowerTools存储库,因为EPEL软件包可能取决于它中的软件包:

dnf config-manager --set-enabled PowerTools




https://fedoraproject.org/wiki/EPEL/zh-cn

你可能感兴趣的:(ansible EPRL源)