Configure EPEL Repository in Linux (RHEL/CentOS) | Setup Online EPEL Repository | NehraClasses



Configure EPEL Repository in Linux (RHEL/CentOS) | Setup Online EPEL Repository | NehraClasses

Configure EPEL Repository in Linux (RHEL/CentOS) | Setup Online EPEL Repository | NehraClasses

How to Enable an EPEL Repository in RHEL (CentOS):
==
The EPEL repository is an additional package repository that provides easy access to install packages for commonly used software.
This repo was created because Fedora contributors wanted to use Fedora packages they maintain on RHEL and other compatible distributions.
To put it simply the goal of this repo was to provide greater ease of access to software on Enterprise Linux compatible distributions.

What’s an ‘EPEL repository’?

The EPEL repository is managed by the EPEL group, which is a Special Interest Group within the Fedora Project.
The ‘EPEL’ part is an abbreviation that stands for Extra Packages for Enterprise Linux.
The EPEL group creates, maintains and manages a high-quality set of additional packages.
These packages may be software not included in the core repository, or sometimes updates which haven’t been provided yet.

The EPEL repository can be used with the following Linux Distributions:
Red Hat Enterprise Linux (RHEL)
CentOS
Scientific Linux
Oracle Linux

Pre-Prequesties:

1. Machine should be connected to internet.
2. You should have root (Sudo/Admin) access to configure it.

Installing EPEL on CentOS:

By far CentOS is the easiest distro to install EPEL on. The CentOS distribution includes a repo called ‘CentOS Extras’ by default. Within this repo users can find a EPEL package, so in this case enabling EPEL is as easy as installing any other package.

1. Connect to the server via SSH as the root user; or open a terminal if you’re working locally.
2. Install the EPEL repository with the following command: sudo yum install epel-release
3. Confirm your work and refresh the repo list by running: sudo yum repolist

Essentially once you’re logged in as the root user, just run the following commands:
# sudo yum install epel-release
# sudo yum repolist

Installing EPEL on RHEL6/RHEL7/RHEL8:

1. If you are running a different supported distribution you can install the EPEL rep with the following method. This method should also work on CentOS if you’d like to do a manual install. First start by running the following command:
# cd /tmp

2. Then download the rpm file for installation. The file download depends on what OS version you are using, select from the list bellow:

RHEL 6/CentOS 6/etc:
# wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
# rpm -Uvh epel-release-6*.rpm

RHEL 7/CentOS 7/etc:
# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

3. Once you’ve downloaded the EPEL rpm file for your OS version, you can now install the EPEL repository. To install the EPEL rpm run:
# yum install ./epel-release-latest-*.noarch.rpm

4. Confirm your work and refresh the repo list by running.
# yum repolist

To Configure EPEL repository in RHEL 8:

1. SSH and run the commands below.
# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
# dnf update

2. Once the update is complete, you can verify the installation of the EPEL repository by executing the command.
# sudo rpm -qa | grep epel

3. To list the packages that constitute the EPEL repository, run the command.
# sudo dnf –disablerepo=”*” –enablerepo=”epel” list available

4. For instance, to search for the htop package, run the command.
# sudo dnf –disablerepo=”*” –enablerepo=”epel” list available | grep htop

5. To install htop package, the command will be.
# sudo dnf install htop

==
Thanks for watching the video. If it helped you then, please do like & share it with others as well. Feel free to post your queries & suggestions, we will be glad to answer your queries.
If you like our hard work then do subscribe to our channel & turn on the bell notification for latest updates.
===
Our Some Popular Videos:

Yum Server RHEL 7:
https://www.youtube.com/watch?v=-N09WSCNcso

DNF/Yum Server RHEL 8:
https://www.youtube.com/watch?v=cXqL5lLHM_o

Puppet Configuration:
https://www.youtube.com/watch?v=uBLMcTuaiUw&t=34s

Startis File System in RHEL 8:
https://www.youtube.com/watch?v=wkLmgeo7oxk

Concept of All RAID Levels:
https://www.youtube.com/watch?v=VRx0copTNr8

Configure RAID-1 in Linux:
https://www.youtube.com/watch?v=x12pMJpGGmw

Configure RAID-5 in Linux:
https://www.youtube.com/watch?v=Cj-je1RUJgo

Configure RAID-6 in Linux:
https://www.youtube.com/watch?v=qeKLlrZ5fLg

Configure RAID-10 in Linux:
https://www.youtube.com/watch?v=DLVGj_Mu1DA

Migrate LVM:
https://www.youtube.com/watch?v=B2YMDlYf-_U

LVM Snapshot:
https://www.youtube.com/watch?v=CJJwbnFuM5A
===
Contact Us:
Vikas Nehra’s Twitter Handle:👇
http://bit.ly/VikasNehraTwitterHandle

Registration:👇
http://bit.ly/NehraClassesRegForm

Twitter Handle:👇
http://bit.ly/NehraClassesTwiiterHandle

Facebook Page:👇
www.facebook.com/nehraclasses

Instagram:👇
https://www.instagram.com/nehraclasses/

Telegram Channel: 👇
https://t.me/NehraClasses

WhatsApp Us: 👇
https://bit.ly/2Kpqp5z

Email Us:👇
Email: [email protected]
===
©COPYRIGHT. ALL RIGHTS RESERVED.