Tuesday 21 March 2023

How to install EPEL repository on CentOS 9 Stream

The EPEL repository is an additional package repository that provides useful software packages that are not included in the official CentOS 9 repositories and easy access to install packages for commonly used software.

This article describes How to enabling EPEL repository on CentOS 9
Step 1. Enable Code Builder Repository: Run the following command to enable code builder repository as it required for system:
[root@linuxcnf ~]# dnf config-manager --set-enabled crb
[root@linuxcnf ~]#
Step 2. EPEL Packages Installation: Run the following command to install EPEL packages:
[root@linuxcnf ~]# dnf install epel-release epel-next-release
  epel-next-release-9-2.el9.noarch          epel-release-9-2.el9.noarch
[root@linuxcnf ~]#
Step 3. Verification: Run the following command to verify the installation of EPEL repository:
[root@linuxcnf ~]# dnf repolist epel
repo id          repo name                                               status
epel             Extra Packages for Enterprise Linux 9 - x86_64          enabled
[root@linuxcnf ~]# dnf repolist epel-next
repo id       repo name                                                  status
epel-next     Extra Packages for Enterprise Linux 9 - Next - x86_64      enabled
[root@linuxcnf ~]#
Done!!! Now the EPEL repository is installed and enabled on CentOS 9.

No comments:

Post a Comment