This tutorial provides a guide to install EPEL with PowerTools for CentOS 8 VPS or dedicated servers.
Install EPEL Repository on CentOS 8
Installation of EPEL repository is done with the following steps:
- Login to SSH as root user.
- Run the following command:
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
This will download the repository file to /etc/yum.repos.d/epel.repo
and enables EPEL repository on the server.
Enable PowerTools for CentOS 8
On CentOS 8 it is recommended to also enable the PowerTools repository since EPEL packages may depend on packages from it.
To do this, run the following command as root user:
sudo dnf config-manager --set-enabled PowerTools
You have now installed EPEL and enabled PowerTools repo on CentOS 8 server.