Bobcares

wesupport

CLIENT AREACall Us 1-800-383-5193
Bobcares

wesupport

Call Us 1-800-383-5193
Bobcares

wesupport

Call Us 1-800-383-5193

Need help?

Our experts have had an average response time of 13.52 minutes in October 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Enable EPEL repository on EC2

by | Jul 22, 2021

Wondering how to enable EPEL repository on EC2? We can help you.

Here at Bobcares, we have seen several such CentOS related installations as part of our Server Management Services for web hosts and online service providers.

Today, let us see how to enable EPEL.

 

How to enable EPEL repository on EC2?

Standard repositories might not provide all the packages that can install on CentOS, RHEL, or Amazon Linux-based distributions.

Enabling the EPEL repository provides additional options for package installation.

Today, let us see the steps followed by our Support Techs to to download, install, and enable the EPEL repository on RHEL, CentOS, or Amazon Linux-based distributions.

Amazon Linux

Firstly, install the EPEL release package for RHEL 7 and enable the EPEL repository.

sudo amazon-linux-extras install epel -y

Amazon Linux Amazon Machine Image (AMI):

The EPEL repository is already installed on the original version of Amazon Linux, but you must enable it.

Then, you can enable this repository either by using the yum-config-manager command or by editing the epel.repo file.

sudo yum-config-manager --enable epel

 

RHEL

RHEL 8:

Firstly, install the EPEL release package for RHEL 8.

Then, enable both the EPEL and CodeReady Builder repositories.

The CodeReady Builder repository contains development tools required by many EPEL packages.

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y
sudo dnf config-manager --set-enabled codeready-builder-for-rhel-8-rhui-rpms

 

RHEL 7:

Install and enable the EPEL release package for RHEL 7.

sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

 

CentOS

CentOS 8:

Firstly, install the EPEL release package for RHEL 8.

Then, enable both the EPEL and PowerTools repositories.

The PowerTools repository contains development tools required by many EPEL packages.

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y
sudo dnf config-manager --set-enabled PowerTools

CentOS 7:

In order to, install and enable the EPEL release package.

Usually, centOS 7 includes the epel-release package in the base repositories.

sudo yum -y install epel-release

 

List enabled repositories

In order to, verify that the EPEL repository is enabled.

Run the repolist command.

sudo yum repolist

 

[Need any further assistance with CentOS queries? – We are here to help you.]

Conclusion

In short, today we saw steps followed by our Support Techs to enable EPEL repository on EC2.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags