How to enable the EPEL repository on CentOS 8 / RHEL 8 / Oracle Linux 8?

Windows Articles

How to install Brackets in Windows 10 plus extensions

Hello! Brackets is an open-source code editor designed by Adobe for web developers. Additionally, it has a very simple and modern interface...

How to install Docker on OpenSUSE 15.2 / 15.1?

Docker is a fairly popular technology in today’s sysadmin. It is logical to think because it means a complete change in the...

How to analyze the network with IP Tools for Android

Hi! If you want to analyze and adjust the network almost professionally, then this post is for you. Indeed, IP Tools is...

How to install GNU Fortran on Ubuntu 20.04 / 18.04?

Not everything old is bad. This is how it is. Well, while it is true that there are many programming languages today, there are...

How to install Unity Desktop on Ubuntu 20.04?

Unity Desktop was for a long time the default desktop environment in Ubuntu. Thanks to this, Ubuntu gained a great personality and...
angeloma
angeloma
Senior Writer and partner

Large Linux distributions have a large number of packages in their repositories. These distributions base their stability on the freezing of the versions of the mentioned packages. However, it is always possible to add external repositories to install packages that are not in the official repositories. Of course, these repositories have to be reliable and quite secure. Today, I will teach you how to enable the EPEL on CentOS 8 / RHEL 8 / Oracle Linux 8 repository.

What is the EPEL repository?

The Extra Packages for Enterprise Linux (EPEL) is an unofficial repository that provides a variety of packages that are not in the official RHEL and derivative repositories. It is quite reliable and secure, so it is highly recommended to enable it if we need any packages available in this repository.

Keep in mind that Linux distirbutions such as RHEL and its derivatives, as well as Debian, Ubuntu and SUSE, incorporate packages tested by them. In this immense effort, there are many very good packages that cannot be added to the repositories.

For that reason, these repositories are born, to be able to install many extra packages without much effort… let us get to work.

Enable the EPEL repository on CentOS 8 / RHEL 8 / Oracle Linux 8

The EPEL project is fantastic. Not only because of the large number of packages available but also because of the ease of use. To add it, you have to download and install an RPM package that they put at our disposal.

So, open a terminal and upgrade the system.

:~$ sudo dnf update

This way we will have all the packages updated with the built-in security patches.

Now install the repository configuration package with the following command:

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

1.- Enable the EPEL repository on CentOS 8 / RHEL 8 / Oracle Linux 8
1.- Enable the EPEL repository on CentOS 8 / RHEL 8 / Oracle Linux 8

Then, check that everything is OK with the new repository. So, list all the enabled repository.

:~$ sudo dnf repolist -v

2.- The EPEL repository was successfully added
2.- The EPEL repository was successfully added

As you can see in the image, the repository was correctly added. That is to say, we will be able to use it.

You can see all available packages with the following command:

:~$ sudo dnf repository-packages epel list

The image above shows that there are many packages available to be installed thanks to the EPEL repository.

Conclusion

In conclusion, adding the EPEL repository is almost an obligation if we want to counter many extra packages for our distribution. On the other hand, EPEL is a safe, reliable and easy to enable repository. To be so simple, the benefits are many.

Also, you can read How to enable Sudo on Debian 10?

Please share this post that can help many people. And join our Telegram channel.

 

More articles

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to install Brackets in Windows 10 plus extensions

Hello! Brackets is an open-source code editor designed by Adobe for web developers. Additionally, it has a very simple and modern interface...

How to install Docker on OpenSUSE 15.2 / 15.1?

Docker is a fairly popular technology in today’s sysadmin. It is logical to think because it means a complete change in the...

How to analyze the network with IP Tools for Android

Hi! If you want to analyze and adjust the network almost professionally, then this post is for you. Indeed, IP Tools is...

How to install GNU Fortran on Ubuntu 20.04 / 18.04?

Not everything old is bad. This is how it is. Well, while it is true that there are many programming languages today, there are...

How to install Unity Desktop on Ubuntu 20.04?

Unity Desktop was for a long time the default desktop environment in Ubuntu. Thanks to this, Ubuntu gained a great personality and...