Extra Packages for Enterprise Linux (EPEL) is a community-driven repository that provides additional software packages for Linux distributions, including Ubuntu. EPEL is particularly useful for servers, as it provides access to a wide range of software packages that are not included in the default Ubuntu repositories. In this article, we will show you how to install EPEL on Ubuntu 20.04.
Prerequisites
Before we begin, please ensure that your system is running Ubuntu 20.04 and that you have root or superuser access.
Installing EPEL
To install EPEL on Ubuntu 20.04, we will first add the EPEL repository to our system. Here are the steps to do this:
- Open a terminal window.
- Enter the following command:
sudo apt-add-repository -y ppa:rmescandon/yq
- Press Enter.
Next, we will update the package list:
- Enter the following command:
sudo apt update
- Press Enter.
Finally, we will install the epel-release package:
- Enter the following command:
sudo apt install epel-release
- Press Enter.
Verifying Installation
To verify that EPEL has been installed correctly, we can check that the repository has been added to our system. Here’s how:
- Enter the following command:
sudo apt-cache policy epel-release
- You should see a message that the package is installed and is up-to-date.
Conclusion
In this article, we have shown you how to install EPEL on Ubuntu 20.04. By installing EPEL, you will have access to a wide range of additional software packages that are not included in the default Ubuntu repositories. This can be especially useful for servers, as it provides a way to easily install and manage additional software.