Quickstart
You may retrieve signed binary configuration files from one the above two links (varying by the major release number of the installation target machine). They may be automatically installed by root thus:
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
on RHEL 7 it is recommended to also enable the optional and extras repositories since EPEL packages may depend on packages from these repositories:
# subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
您可以从以上两个链接中的一个链接中检索已签名的二进制配置文件(根据安装目标计算机的主要版本号而不同)。它们可以由root自动安装,因此:
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上,建议还启用可选和附加存储库,因为EPEL包可能依赖于来自这些存储库的包:
#subscription-manager repos --enable“rhel - * - optional-rpms”--enable“rhel - * - extras-rpms”
发表评论