Howtodojo logo
  • Home 
  • About 
  • Certifications 
  • Sample Database 
  • Cheatsheet 
  • Glossary 
  • Blog 
  • Tags 
  1.   Blog
  1. Home
  2. Blog
  3. How to Enable EPEL Repository on CentOS 8

How to Enable EPEL Repository on CentOS 8

Share via
Howtodojo
Link copied to clipboard

In this tutorial we'll learn how to enable EPEL repository on CentOS 8. We will learn two methods to enable EPEL repository.

On this page
Introduction   Prerequisites   Enable EPEL repository   Import EPEL 8 GPG Key   References   Summary  
How to Enable EPEL Repository on CentOS 8

Introduction  

In this tutorial we’ll learn how to enable EPEL repository on CentOS 8

EPEL stands for Extra Packages for Enterprise Linux. It’s a Fedora Special Interest Group that creates, maintain and manages high quality set of additional packages for Enterprise Linux including CentOS.

EPEL packages usually based on their Fedora counterpart and will never conflict or replace packages provided by Enterprise Linux itself.

Prerequisites  

  • CentOS 8 installation with root privileges via sudo

If you have no sudo configured you can run the commands below from root user and remove sudo command.

Enable EPEL repository  

First of all let’s import CentOS 8 RPM GPG Key

sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-8
```bash

To enable EPEL repository on CentOS 8 you can use command below

```bash
sudo yum install epel-release

Press y to continue the installation process.

Now let’s update yum database to also include EPEL by running command below

sudo yum check-update
```bash

To list enabled repository we can use command below. EPEL should already listed as enabled.

```bash

sudo yum repolist

Import EPEL 8 GPG Key  

Last step is to import EPEL RPM GPG Key. This to ensure later on installing packages rpm can verify the authenticity of packages we downloaded from EPEL repository


```bash

## Alternative Installation Method {#h-alternative-installation-method}

As alternative enabling EPEL repository we can use command below:

```bash

References  

  • EPEL Website

Summary  

In this tutorial we learned how to enable EPEL on CentOS 8. You can install additional packages from EPEL repository that is not shipped with CentOS base repository.

 Netlify deploy RangeError: Maximum call stack size exceeded
How To Install Vagrant on Ubuntu 20.04 
On this page:
Introduction   Prerequisites   Enable EPEL repository   Import EPEL 8 GPG Key   References   Summary  
Follow me

We publish tutorials, tips and tricks about Linux, open source, cloud computing, and infrastructure

     
Copyright © 2012 - 2025 howtodojo.com. |
Howtodojo
Code copied to clipboard