How To Enable and Install EPEL Repo on CentOS 8
The Process is fairly simple. So not wasting anymore time intro let's go to the process:
Search EPEL Repository:
[root@freeipa /]# yum search epel
Failed to set locale, defaulting to C
Last metadata expiration check: 0:13:05 ago on Wed Oct 30 15:31:37 2019.
====================================================== Name Matched: epel ======================================================
epel-release.noarch : Extra Packages for Enterprise Linux repository configuration
epel-rpm-macros.noarch : Extra Packages for Enterprise Linux RPM macros
[root@freeipa /]#
To get more info, run:
[root@freeipa /]# yum info epel-release
Available Packages
Name : epel-release
Version : 8
Release : 7.el8
Arch : noarch
Size : 21 k
Source : epel-release-8-7.el8.src.rpm
Repo : epel
Summary : Extra Packages for Enterprise Linux repository configuration
URL : http://download.fedoraproject.org/pub/epel
License : GPLv2
Description : This package contains the Extra Packages for Enterprise Linux (EPEL) repository
: GPG key as well as configuration for yum.
Install the EPEL Repo:
[root@freeipa /]# yum -y install epel-release
Failed to set locale, defaulting to C
Last metadata expiration check: 0:02:22 ago on Wed Oct 30 15:28:57 2019.
Dependencies resolved.
================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================
Installing:
epel-release noarch 8-5.el8 extras 22 k
Transaction Summary
================================================================================================================================
Install 1 Package
Total download size: 22 k
Installed size: 30 k
Downloading Packages:
epel-release-8-5.el8.noarch.rpm 16 kB/s | 22 kB 00:01
--------------------------------------------------------------------------------------------------------------------------------
Total 9.1 kB/s | 22 kB 00:02
warning: /var/cache/dnf/extras-cbfb2f07b0021b7e/packages/epel-release-8-5.el8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
CentOS-8 - Extras 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x8483C65D:
Userid : "CentOS (CentOS Official Signing Key) <security@centos.org>"
Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : epel-release-8-5.el8.noarch 1/1
Running scriptlet: epel-release-8-5.el8.noarch 1/1
Verifying : epel-release-8-5.el8.noarch 1/1
Installed:
epel-release-8-5.el8.noarch
Complete!
Now List your Repository:
[root@freeipa /]# yum repolist
Failed to set locale, defaulting to C
Extra Packages for Enterprise Linux 8 - x86_64 498 kB/s | 3.0 MB 00:06
Last metadata expiration check: 0:00:01 ago on Wed Oct 30 15:31:37 2019.
repo id repo name status
AppStream CentOS-8 - AppStream 4679
BaseOS CentOS-8 - Base 1655
*epel Extra Packages for Enterprise Linux 8 - x86_64 2651
extras CentOS-8 - Extras 3
[root@freeipa /]#
0 Comments