AlmaLinux

Enable EPEL Repository on Rocky Linux 8 | AlmaLinux 8

Extra Packages for Enterprise Linux (EPEL) is repository with a high quality set of additional packages for Enterprise Linux operating systems such as Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL), AlmaLinux and any other Linux distribution from the RHEL family. In this guide we will perform an installation of EPEL repository on Rocky Linux 8 / AlmaLinux OS 8 system.

Original content from computingforgeeks.com - post 74951

For this, you’ll need AlmaLinux 8 installed on a physical server or on a virtualized environment. This is the main pre-requisite before you can enable EPEL repository on AlmaLinux/Rocky Linux 8. You’ll also need sudo privileges in your user account to install EPEL Repository on AlmaLinux OS 8 / Rocky Linux 8.

Run the command below to install EPEL Repository on Rocky Linux 8 / AlmaLinux OS 8:

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Accept installation using the y key:

...
Transaction Summary
==================================================================================================================================================================
Install  1 Package

Total size: 22 k
Installed size: 32 k
Is this ok [y/N]: y

Download and installation of EPEL Repository on AlmaLinux OS 8 should start.

...
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                              1/1
  Running scriptlet: epel-release-8-19.el8.noarch                                                                                                                                                 1/1
  Upgrading        : epel-release-8-19.el8.noarch                                                                                                                                                 1/2
  Running scriptlet: epel-release-8-19.el8.noarch                                                                                                                                                 1/2
  Cleanup          : epel-release-8-18.el8.noarch                                                                                                                                                 2/2
  Running scriptlet: epel-release-8-18.el8.noarch                                                                                                                                                 2/2
  Verifying        : epel-release-8-19.el8.noarch                                                                                                                                                 1/2
  Verifying        : epel-release-8-18.el8.noarch                                                                                                                                                 2/2

Upgraded:
  epel-release-8-19.el8.noarch

Complete!

Check current list of repositories on AlmaLinux OS 8 to confirm EPEL is available:

#AlmaLinux 8
$ sudo yum repolist
repo id                                                     repo name
appstream                                                   AlmaLinux 8 - AppStream
baseos                                                      AlmaLinux 8 - BaseOS
epel                                                        Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                                Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                                                      AlmaLinux 8 - Extras
powertools                                                  AlmaLinux 8 - PowerTools

#Rocky Linux 8
$ sudo yum repolist
repo id                                                     repo name
appstream                                                   Rocky Linux 8 - AppStream
baseos                                                      Rocky Linux 8 - BaseOS
epel                                                        Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                                Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                                                      Rocky Linux 8 - Extras

Test installation of a package in EPEL repository:

$ sudo yum install  collectd
...
Transaction Summary
==================================================================================================================================================================
Install  1 Package

Total download size: 716 k
Installed size: 2.3 M
Is this ok [y/N]: y

That’s all about installing EPEL repository on Rocky Linux 8 / AlmaLinux OS 8. We hope this guide was helpful and thank you for reading through.

Keep reading

Patch PHP2Shell on RHEL, Rocky Linux and AlmaLinux 10 / 9 / 8 AlmaLinux Patch PHP2Shell on RHEL, Rocky Linux and AlmaLinux 10 / 9 / 8 Customize KDE Plasma Desktop with Themes|Modules|Extensions AlmaLinux Customize KDE Plasma Desktop with Themes|Modules|Extensions Linux Terminal Shortcuts Cheat Sheet (Bash and zsh) Cheat Sheets Linux Terminal Shortcuts Cheat Sheet (Bash and zsh) Install Zabbix 8.0 LTS on Rocky Linux 10 / AlmaLinux 10 AlmaLinux Install Zabbix 8.0 LTS on Rocky Linux 10 / AlmaLinux 10 Install K3s on Rocky Linux 10 (Kubernetes Cluster Setup) Containers Install K3s on Rocky Linux 10 (Kubernetes Cluster Setup) Install Puppet 8 Server and Agent on Rocky / AlmaLinux 10 AlmaLinux Install Puppet 8 Server and Agent on Rocky / AlmaLinux 10

Leave a Comment

Press ESC to close