EPEL (Extra Packages for Enterprise Linux) as the name suggests it is an extra package which are not in the default repository on CentOS and RedHat Linux. EPEL is a freely available additional packages repository for CentOS & RedHat Linux. Let’s see the steps below to enable and disable EPEL repository.
1. Running instance of CentOS/RHEL System
Also Read: Red Hat Enterprise Linux 8.1 Installation with Screenshots
Also Read: CentOS Linux 8 Installation with Screenshots for beginners
2. Internet to download xrdp package
3. Sudo or root privileges
Let’s Get Started!
Install EPEL (Extra Packages Enterprise Linux) repository for RHEL/CentOS8/7:
On RHEL/CentOS 7:
On RHEL/CentOS 8:
Execute following commands:
$ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
On RHEL8, it is recommended to enable the below codeready-bulider repository, EPEL packages may depend it.
$ sudo ARCH=$( /bin/arch )
$ sudo subscription-manager repos –enable “codeready-builder-for-rhel-8-${ARCH}-rpms”
Search package using EPEL repositorySearch package using EPEL repository filter out the package name ‘openvpn‘
$ sudo dnf –disablerepo=”*” –enablerepo=”epel” list available | grep ‘openvpn’
Execute the following commands to verify the status of EPEL repository.
$ sudo dnf repolist epel -v
or
$ sudo yum repolist epel -v