之前整理过一次,这回根据官方介绍,整理完全。

RHEL 7 和 Amazon Linux 2

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

RHEL 6

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

CentOS 7 、CentOS 6

sudo yum install -y epel-release

Amazon Linux

sudo yum-config-manager --enable epel

参考整理自:https://amazonaws-china.com/premiumsupport/knowledge-center/ec2-enable-epel/

Related Posts: AWS EC2如何启用EPEL :

avatar