EPEL, which stands for “Extra Packages for Enterprise Linux” is a free to use repository maintained by the Fedora Special Interest Group. This repository is for use on Linux distributions based on Red Hat Linux, e.g RHEL, CentOS and Oracle Linux and Scientific Linux. The EPEL repository contains packages mostly not available in the official operating system Base and AppStream repositories.

The EPEL project strives to provide packages with both high quality and stability. If you read Oracle Linux documentation page, you’ll notice EPEL repository is in the category of repositories to be used for development purposes only. But from my personal experience, EPEL is a great repository and I’ve never recorded any bugs.

Enable the EPEL Repository on Oracle Linux 8

Login to your Oracle Linux machine as root or use with sudo privileges.

$ ssh [email protected]

Using Oracle provided EPEL repository contents

Once logged in, create EPEL repository file on your Oracle Linux 8 system.

sudo vim /etc/yum.repos.d/ol8-epel.repo 

Paste the contents below into the file.

[ol8_developer_EPEL]
name= Oracle Linux $releasever EPEL ($basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL8/developer/EPEL/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

Update Yum cache:

$ sudo dnf makecache
Oracle Linux 8 EPEL (x86_64)                                                                                           4.3 kB/s | 2.5 kB     00:00    
Oracle Linux 8 BaseOS Latest (x86_64)                                                                                  5.2 kB/s | 2.7 kB     00:00    
Oracle Linux 8 Application Stream (x86_64)                                                                             5.0 kB/s | 2.9 kB     00:00    
Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)                                             4.7 kB/s | 2.5 kB     00:00    
Metadata cache created.

Using Fedora official EPEL repository

For the open EPEL repository, run the commands:

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

Accept installation when prompted.

Last metadata expiration check: 0:26:49 ago on Mon 11 May 2020 08:30:22 PM UTC.
epel-release-latest-8.noarch.rpm                                                                                        10 kB/s |  22 kB     00:02    
Dependencies resolved.
=======================================================================================================================================================
 Package                               Architecture                    Version                             Repository                             Size
=======================================================================================================================================================
Installing:
 epel-release                          noarch                          8-8.el8                             @commandline                           22 k

Transaction Summary
=======================================================================================================================================================
Install  1 Package

Total size: 22 k
Installed size: 32 k
Is this ok [y/N]: y

Confirm EPEL is installed on Oracle Linux 8.

$ sudo yum repolist 
repo id                                        repo name
epel                                           Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                   Extra Packages for Enterprise Linux Modular 8 - x86_64
ol8_UEKR6                                      Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)
ol8_appstream                                  Oracle Linux 8 Application Stream (x86_64)
ol8_baseos_latest                              Oracle Linux 8 BaseOS Latest (x86_64)

You can try install a package in the EPEL repository to confirm it is working.

$ sudo dnf install clamav
Last metadata expiration check: 0:03:01 ago on Mon 11 May 2020 08:59:44 PM UTC.
Dependencies resolved.
=======================================================================================================================================================
 Package                                Architecture                Version                               Repository                              Size
=======================================================================================================================================================
Installing:
 clamav                                 x86_64                      0.102.2-4.el8                         epel                                   453 k
Installing dependencies:
 clamav-data                            noarch                      0.102.2-4.el8                         epel                                   169 M
 clamav-filesystem                      noarch                      0.102.2-4.el8                         epel                                    33 k
 clamav-lib                             x86_64                      0.102.2-4.el8                         epel                                   826 k
 libtool-ltdl                           x86_64                      2.4.6-25.el8                          ol8_baseos_latest                       58 k

Transaction Summary
=======================================================================================================================================================
Install  5 Packages

Total download size: 170 M
Installed size: 174 M
Is this ok [y/N]: y

As confirmed the package installed from the EPEL repository we just added.

That’s all on the installation of EPEL repository on Oracle Linux 8 Linux system.

Recommended Linux books to read:

Linux Command Line and Shell Scripting Bible, 3rd Edition

Linux: The Complete Reference, Sixth Edition

Introduction to Linux: A Hands-On Guide

Linux for Beginners: An Introduction to the Linux Operating System and Command Line

Linux Bible 8th Edition

LEAVE A REPLY

Please enter your comment!
Please enter your name here

one × two =