

# AL2 Extras Library
<a name="al2-extras"></a>

**Warning**  
 The `epel` Extra enables the third party EPEL7 repository. As of 2024-06-30 the third-party EPEL7 repository is *no longer being maintained*.   
 This third-party repository will have *no future updates*. This means there will be *no security fixes* for packages in the *EPEL* repository.   
 See the [EPEL section of the Amazon Linux 2023 User Guide](https://docs.aws.amazon.com/linux/al2023/ug/epel.html) 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 the version information to use the most recent version. Extras help alleviate having to compromise between the stability of an operating system and the freshness of available software.

The contents of Extras topics are exempt from the Amazon Linux policy on long-term support and binary compatibility. Extras topics provide access to a curated list of packages. The versions of the packages might be updated frequently or might not be supported for the same amount of time as AL2.

**Note**  
Individual Extras topics might be deprecated before AL2 reaches EOL. 

To list the available topics, use the following command.

```
[ec2-user ~]$ amazon-linux-extras list
```

To enable a topic and install the latest version of its package to ensure freshness, use the following command.

```
[ec2-user ~]$ sudo amazon-linux-extras install topic
```

To enable topics and install specific versions of their packages to ensure stability, use the following command.

```
[ec2-user ~]$ sudo amazon-linux-extras install topic=version topic=version
```

To remove a package installed from a topic, use the following command.

```
[ec2-user ~]$ sudo yum remove $(yum list installed | grep amzn2extra-topic | awk '{ print $1 }')
```

**Note**  
This command does not remove packages that were installed as dependencies of the Extra.

To disable a topic and make the packages inaccessible to the yum package manager, use the following command.

```
[ec2-user ~]$ sudo amazon-linux-extras disable topic
```

**Important**  
This command is intended for advanced users. Improper usage of this command could cause package compatibility conflicts.

# List of Amazon Linux 2 Extras
<a name="al2-extras-list"></a>


| Extra name | Deprecated Date | 
| --- | --- | 
| BCC |  | 
| GraphicsMagick1.3 |  | 
| R3.4 |  | 
| R4 |  | 
| ansible2 | 2023-09-30 | 
| aws-nitro-enclaves-cli |  | 
| awscli1 |  | 
| collectd |  | 
| collectd-python3 |  | 
| corretto8 |  | 
| dnsmasq |  | 
| dnsmasq2.85 | 2025-05-01 | 
| docker |  | 
| ecs |  | 
| emacs | 2018-11-14 | 
| epel | 2024-06-30 | 
| firecracker | 2022-11-08 | 
| firefox |  | 
| gimp | 2018-11-14 | 
| golang1.11 | 2023-08-01 | 
| golang1.19 | 2023-09-30 | 
| golang1.9 | 2018-12-14 | 
| haproxy2 |  | 
| httpd\$1modules |  | 
| java-openjdk11 | 2024-09-30 | 
| kernel-5.10 |  | 
| kernel-5.15 |  | 
| kernel-5.4 |  | 
| kernel-ng | 2022-08-08 | 
| lamp-mariadb10.2-php7.2 | 2020-11-30 | 
| libreoffice |  | 
| livepatch |  | 
| lustre |  | 
| lustre2.10 |  | 
| lynis |  | 
| mariadb10.5 | 2025-06-24 | 
| mate-desktop1.x |  | 
| memcached1.5 |  | 
| mock |  | 
| mock2 |  | 
| mono |  | 
| nano | 2018-11-14 | 
| nginx1 |  | 
| nginx1.12 | 2019-09-20 | 
| nginx1.22.1 |  | 
| php7.1 | 2020-01-15 | 
| php7.2 | 2020-11-30 | 
| php7.3 | 2021-12-06 | 
| php7.4 | 2022-11-03 | 
| php8.0 | 2023-11-26 | 
| php8.1 | 2025-12-31 | 
| php8.2 |  | 
| postgresql10 | 2023-09-30 | 
| postgresql11 | 2023-11-09 | 
| postgresql12 | 2024-11-14 | 
| postgresql13 | 2025-11-13 | 
| postgresql14 |  | 
| postgresql9.6 | 2022-08-09 | 
| python3 | 2018-08-22 | 
| python3.8 | 2024-10-14 | 
| redis4.0 | 2021-05-25 | 
| redis6 | 2026-01-31 | 
| ruby2.4 | 2020-08-27 | 
| ruby2.6 | 2023-03-31 | 
| ruby3.0 | 2024-03-31 | 
| rust1 | 2025-05-01 | 
| selinux-ng |  | 
| squid4 | 2023-09-30 | 
| testing |  | 
| tomcat8.5 | 2024-03-31 | 
| tomcat9 |  | 
| unbound1.13 | 2025-05-01 | 
| unbound1.17 |  | 
| vim | 2018-11-14 | 