添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
冷冷的夕阳  ·  Implémentation de la ...·  5 月前    · 
风度翩翩的钢笔  ·  OPTiNET 2021 | ...·  5 月前    · 
爱笑的大脸猫  ·  Pony Rides at ...·  6 月前    · 
刚毅的香烟  ·  巧用DOM ...·  6 月前    · 

Amazon Linux provides an easy way to install / enable the EPEL yum repository from the command line.

Use the amazon-linux-extras command to enable the epel feature, and then install the repository:

amazon-linux-extras enable epel
yum install epel-release

To see which packages are available via amazon-linux-extras , just type the command without any arguments.

Thank you for this! I’m trying to automate this process in ec2 instances using userdata and couldn’t find a way to do it because when running amazon-linux-extras install epel, it would wait for user input before installing the package and there was no option to assume yes the way yum package manager allowed.

This method makes the automation possible!

Leave a Reply

Your email address will not be published. Required fields are marked *