Enable EPEL on Amazon Linux 2

Apr 07, 2022 · 1 min read · Post a comment
Enable EPEL on Amazon Linux 2

Using EPEL package repository can be very beneficial. Epel contains all the common packages that you may want to install. Unfortunately, EPEL is disabled in Amazon Linux 2. Let’s see how to enable it.


  • Amazon Linux 2
  • sudo access

Enable EPEL on Amazon Linux 2

Step 1. First, install the EPEL package:

sudo amazon-linux-extras install epel -y

Step 2. Once is installed, we can enable it with:

sudo yum-config-manager --enable epel

Step 3. To check if EPEL is enabled, list the repositories.

sudo yum repolist


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.