🌐
AWS
docs.aws.amazon.com › amazon linux › user guide › comparing al2 and al2023 › extra packages for enterprise linux (epel)
Extra Packages for Enterprise Linux (EPEL) - Amazon Linux 2023
April 20, 2026 - The collect package was in EPEL7, and was also available in the collectd and collectd-python3 AL2 Extras. The collectd package is included in AL2023 and can be installed by running the following command: ... In Amazon Linux 2023, systemd provides functionality to limit the CPU usage of processes, ...
🌐
AWS
docs.aws.amazon.com › amazon linux › user guide › al2 extras library
AL2 Extras Library - Amazon Linux 2
See the EPEL section of the Amazon Linux 2023 User Guide for options for some EPEL packages. With AL2, you can use the Extras Library to install application and software updates on your instances. These software updates are known as topics. You can install a specific version of a topic or omit ...
Discussions

Configuring amazon-linux-extras epel on Amazon Linux 2 in a private subnet - Stack Overflow
I have an EC2 in a private subnet with no external internet access. I need to pull in a package called proj from the EPEL repository. Based on this documentation I should be able to run sudo amazon... More on stackoverflow.com
🌐 stackoverflow.com
Amazon Linux Extras versus EPEL

I've tested installing a few packages from EPEL for Enterprise Linux 7. Make sure you do use the EL7 version, since Amazon Linux 2 is systemd based:

https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

amazon-linux-extras only has a few packages for now, so if that's all you need, great. Depending on the packages you install, you always run the risk of conflicts between EPEL and Amazon repos.

More on reddit.com
🌐 r/aws
1
15
January 15, 2018
amazon-linux-extras install epel broken on ARM64 instances
I am trying to install epel using amazon-linux-extras on a t4g ARM64 instance: `sudo amazon-linux-extras install epel` This used to work until recently, but now results in the following error: ... More on repost.aws
🌐 repost.aws
1
0
February 5, 2022
enable epel in AWS Linux 2022
I am trying to enable epel in AWS Linux 2022 - I am using `al2022-ami-2022.0.20220817.0-kernel-5.15-arm64` image. However, when I run ` rpm -Uvh dl.fedoraproject.org/pub/epel/7/aarch64/Packages/e/e... More on repost.aws
🌐 repost.aws
1
0
August 20, 2022
🌐
AWS re:Post
repost.aws › knowledge-center › ec2-enable-epel
Activate EPEL repository for EC2 instances | AWS re:Post
October 1, 2015 - Important: AL2 will reach end of life on June 30, 2026. Make sure to migrate your AL2 instances to AL2023 before that date. AL2023 uses Supplementary Packages for Amazon Linux (SPAL) instead of EPEL. For AL2023, run the following command to install SPAL:
🌐
Stack Overflow
stackoverflow.com › questions › 74817869 › configuring-amazon-linux-extras-epel-on-amazon-linux-2-in-a-private-subnet
Configuring amazon-linux-extras epel on Amazon Linux 2 in a private subnet - Stack Overflow
Based on this documentation I should be able to run · sudo amazon-linux-extras install epel -y · This does configure the EPEL repository but whenever I run sudo yum install <PACKAGE> I get the following error message.
🌐
Itsecureadmin
itsecureadmin.com › 2020 › 02 › 11 › enable-epel-repository-on-amazon-linux
Enable EPEL Repository on Amazon Linux – itsecureadmin.com
February 11, 2020 - 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:
🌐
LinuxShout
linux.how2shout.com › home › how to enable epel repo on amazon linux 2
How to Enable EPEL Repo on Amazon Linux 2 - LinuxShout
January 22, 2023 - Enable EPEL (Extra Packages for Enterprise Linux) in Amazon Linux 2 for installing various additional software packages that run on RPM-based Linux.
🌐
AWS
aws.amazon.com › blogs › compute › extending-amazon-linux-2-with-epel-and-lets-encrypt
Extending Amazon Linux 2 with EPEL and Let’s Encrypt | Amazon Web Services
May 15, 2018 - Amazon Linux 2 is an excellent option for hosting websites through the LAMP stack provided by the Amazon-Linux-Extras feature. You can then enhance the security of the Apache web server by installing EPEL and Let’s Encrypt. Let’s Encrypt provisions an SSL/TLS certificate, optionally installs ...
🌐
AWS re:Post
repost.aws › questions › QUTJtlIcjiTzyARddu0WGyEA › amazon-linux-extras-install-epel-broken-on-arm64-instances
amazon-linux-extras install epel broken on ARM64 instances | AWS re:Post
February 5, 2022 - [ec2-user@ip-... ~]$ sudo amazon-linux-extras install epel -y Installing epel-release Loaded plugins: extras_suggestions, langpacks, priorities, update-motd Cleaning repos: amzn2-core amzn2extra-docker amzn2extra-epel epel 3 metadata files removed ...
Find elsewhere
🌐
AWS re:Post
repost.aws › questions › QUmixmJazqTF2PNF-zUdaEEw › enable-epel-in-aws-linux-2022
enable epel in AWS Linux 2022 | AWS re:Post
August 20, 2022 - It's not directly compatible with RHEL, and therefore EPEL packages are unlikely to work with it. Customers in need of additional packages in AL2023 should request them through their customer representatives or support channels.
🌐
SysAdminXpert
sysadminxpert.com › home › linux › install epel repository on centos or rhel or amazon linux
Install EPEL Repository On CentOS Or RHEL Or Amazon Linux | SysAdminXpert
July 16, 2023 - You can install EPEL by running yum install epel-release. The package is enclosed within the CentOS Extras repository, enabled by default. ... EPEL repository is a community-driven repository of software packages for Red Hat Enterprise Linux ...
Top answer
1 of 2
7

The EPEL repo is not supported on Amazon Linux 2023.

From the docs

Extra Packages for Enterprise Linux (EPEL) is a project in the Fedora community with the objective of creating a large array of packages for enterprise-level Linux operating systems. The project has primarily produced RHEL and CentOS packages. Amazon Linux 2 features a high level of compatibility with CentOS 7. As a result, many EPEL7 packages work on Amazon Linux 2. However, AL2023 doesn't support EPEL or EPEL-like repositories.

Source: https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#epel

It's easy enough to spin up another instance so I'm just going to spin up an Amazon Linux 2 AMI and do the work on there instead.

2 of 2
5

Even though the EPEL repository is not available for Amazon Linux 2023, you can still use Fedora repositories as alternatives because AL2023 and Fedora share a close relationship, and EPEL is a part of the Fedora Project.

Below is an example of a configuration file for the Fedora 36 repository:

# /etc/yum.repos.d/fedora.repo

[fedora]
name=Fedora 36 - $basearch
#baseurl=http://download.example/pub/fedora/linux/releases/36/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-36&arch=$basearch
enabled=1
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=https://getfedora.org/static/fedora.gpg
       https://src.fedoraproject.org/rpms/fedora-repos/raw/f36/f/RPM-GPG-KEY-fedora-36-primary
skip_if_unavailable=False

Upon successful configuration, you can access Fedora 36 packages.

bash-5.2$ dnf repoquery --nvr gimp
Last metadata expiration check: 0:26:43 ago on Thu Jun  6 10:04:18 2024.
gimp-2.10.30-1.fc36.1

Refs.

  • Add Fedora repositories to AL2023 (Japanese)
  • Add RPM Fusion repositories to AL2023 (Japanese)
🌐
Milliondollarserver
blog.milliondollarserver.com › 2018 › 09 › amazon-linux-2-add-epel-repository-and.html
MILLION DOLLAR SERVER: Amazon Linux 2 add EPEL repository and install SSMTP
[ec2-user@ip-10-10-10-10 ~]$ sudo amazon-linux-extras install epel Installing epel-release Loaded plugins: extras_suggestions, langpacks, priorities, update-motd amzn2extra-docker | 1.3 kB 00:00:00 amzn2extra-epel | 1.3 kB 00:00:00 amzn2extra-epel/2/x86_64/primary_db | 1.8 kB 00:00:00 Resolving ...
🌐
CloudKatha
cloudkatha.com › home › can you install epel on amazon linux 2023?
Can you Install EPEL on Amazon Linux 2023? - CloudKatha
July 24, 2023 - that EPEL is not supported on the latest Linux AMI from Amazon called Amazon Linux 2023. So you can not Install EPEL on Amazon Linux 2023.
🌐
AWS
docs.aws.amazon.com › amazon linux › user guide › al2 on amazon ec2 › configure al2 instances › manage software on your al2 instance › add repositories on an al2 instance
Add repositories on an AL2 instance - Amazon Linux 2
After you install a repository, you must enable it as described in the next procedure. Use the yum-config-manager command with the --enable repository flag. The following command enables the Extra Packages for Enterprise Linux (EPEL) repository from the Fedora project.
🌐
LinuxShout
linux.how2shout.com › home › can we install epel repo on amazon linux 2023?
Can we install EPEL repo on Amazon Linux 2023? - LinuxShout
June 13, 2023 - Although AL2023 is based on upstream Fedora Linux distribution along with other specific packages from other non-Fedora Linux upstream such as kernel, however, AL2023 is compatible with everything out there for Redhat, hence, AL2023 doesn’t support EPEL or EPEL-like repositories and we cannot add them. Also, there is also no “Amazon-extra-packages” available for AL2023.
🌐
Jeremy Pedersen
jeremypedersen.com › posts › 2024-01-17-add-git-lfs
Set up git-lfs on Amazon Linux · Jeremy Pedersen
January 17, 2024 - sudo yum install -y amazon-linux-extras sudo amazon-linux-extras install epel -y sudo yum-config-manager --enable epel sudo yum install git-lfs git lfs install
🌐
Bobcares
bobcares.com › blog › enable-epel-repository-on-ec2
Enable EPEL repository on EC2
July 22, 2021 - Today, let us see the steps followed by our Support Techs to to download, install, and enable the EPEL repository on RHEL, CentOS, or Amazon Linux-based distributions.