I found the resolution of the issue you're experiencing. The EPEL repository is already installed on the original version of Amazon Linux, the only thing you need to do is enable it. By observing from the steps you provided in your post, you only installed EPEL but have not enabled it.
You can enable EPEL repository by using the yum-config-manager command or by editing the epel.repo file.
See command below to enable the EPEL repository:
sudo yum-config-manager --enable epel
To install EPEL repository on other Linux distributions please refer to this AWS Blog, which was last updated on 2021-11-17
I hope this helps.
- asked 7 months ago
- How do I turn on the EPEL repository for my Amazon EC2 instance that runs CentOS, RHEL, or Amazon Linux?AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- EXPERTpublished 7 months ago