Gangmax Blog

Centos reports "No package epel-release available"

Centos reports “No package epel-release available”

When I installed the “epel-release” package with the following command on CentOS 7.6, I got the “No package epel-release available” error.

1
sudo yum -y install epel-release

I get the solution from here:

1
2
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm

Then I can install the package I need:

1
sudo yum -y install htop

Comments