error getting repository data for epel repository not found centos 7

error getting repository data for epel repository not found centos 7

Hi,

Can't find repository while installing one of the software using yum because of the error:

error getting repository data for epel repository not found

My os is centos 7.

How to resolve this?

Thanks

View Answers

August 16, 2018 at 6:07 AM

Hi,

This error is coming because EPEL Repository for RHEL/CentOS 7.x/6.x/5.x is not enabled in your system. If you enable this then error will go away.

What is EPEL?

The EPEL stands for Extra Packages for Enterprise Linux and its distributed online which can be downloaded and installed automatically by yum utility.

To enable it for Centos 7 run following commands:

## RHEL/CentOS 7 64-Bit ##
 wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
 rpm -ivh epel-release-latest-7.noarch.rpm

To enable it for Centos 6 run following commads in terminal:

## RHEL/CentOS 6 32-Bit ##
# wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm
## RHEL/CentOS 6 64-Bit ##
# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

Now run

yum update

Then you can continue with your usual package/software installation.

Thanks

Ads









Related Tutorials/Questions & Answers:
error getting repository data for epel repository not found centos 7
error getting repository data for epel repository not found centos 7  ... because of the error: error getting repository data for epel repository not found My os is centos 7. How to resolve this? Thanks   Hi, This error
error getting repository data for epel repository not found centos 7
error getting repository data for epel repository not found centos 7  ... because of the error: error getting repository data for epel repository not found My os is centos 7. How to resolve this? Thanks   Hi, This error
Advertisements
install tesseract 4 on centos 7
with all packages and language trained data with following command on Centos 7...install tesseract 4 on centos 7  Hi, I have centos 7 updated with the latest updates. Now I want to install tesseract 4 on centos 7. What
data type used to store name.(getting an error)
data type used to store name.(getting an error)    Statement stm=con.createStatement(); String query="select * from employee where ename... getting an error like dis: "ename cannot be resolved to a variable" whats
Repository
Repository       II. Repository Another concept in Maven is that of a repository. The repository holds the artifacts on which your project depends. There are two kinds of repository
Regarding repository
Regarding repository  How to check in and check out using SVN repository using eclipse
Getting an error :(
Getting an error :(  I implemented the same code as above.. But getting this error in console... Console Oct 5, 2012 10:18:14 AM... was not found on the java.library.path: C:\Program Files\Java\jre1.5.007\bin;.;C:\Windows
javax.servlet not found error
javax.servlet not found error  why iam getting javax.servlet error while running my servlet program...after setting the classpath also i am finding that problem
Version of avalon-repository>avalon-repository-api dependency
List of Version of avalon-repository>avalon-repository-api dependency
Version of avalon-repository>avalon-repository-cli dependency
List of Version of avalon-repository>avalon-repository-cli dependency
Version of avalon-repository>avalon-repository-impl dependency
List of Version of avalon-repository>avalon-repository-impl dependency
Version of avalon-repository>avalon-repository-main dependency
List of Version of avalon-repository>avalon-repository-main dependency
Version of avalon-repository>avalon-repository-spi dependency
List of Version of avalon-repository>avalon-repository-spi dependency
Version of avalon-repository>avalon-repository-util dependency
List of Version of avalon-repository>avalon-repository-util dependency
ModuleNotFoundError: No module named 'application_repository'
: No module named 'application_repository' error? Thanks   Hi...ModuleNotFoundError: No module named 'application_repository'  Hi, My Python program is throwing following error: ModuleNotFoundError
ModuleNotFoundError: No module named 'application_repository'
: No module named 'application_repository' error? Thanks   Hi...ModuleNotFoundError: No module named 'application_repository'  Hi, My Python program is throwing following error: ModuleNotFoundError
ModuleNotFoundError: No module named 'application_repository'
: No module named 'application_repository' error? Thanks   Hi...ModuleNotFoundError: No module named 'application_repository'  Hi, My Python program is throwing following error: ModuleNotFoundError
ModuleNotFoundError: No module named 'application_repository'
: No module named 'application_repository' error? Thanks   Hi...ModuleNotFoundError: No module named 'application_repository'  Hi, My Python program is throwing following error: ModuleNotFoundError
ModuleNotFoundError: No module named 'application_repository'
: No module named 'application_repository' error? Thanks   Hi...ModuleNotFoundError: No module named 'application_repository'  Hi, My Python program is throwing following error: ModuleNotFoundError
ModuleNotFoundError: No module named 'bel-repository'
'bel-repository' error? Thanks   Hi, In your python... 'bel-repository' error will be solved. Thanks...ModuleNotFoundError: No module named 'bel-repository'  Hi, My
ModuleNotFoundError: No module named 'json-repository'
'json-repository' error? Thanks   Hi, In your python... named 'json-repository' error will be solved. Thanks...ModuleNotFoundError: No module named 'json-repository'  Hi, My
ModuleNotFoundError: No module named 'json-repository'
'json-repository' error? Thanks   Hi, In your python... named 'json-repository' error will be solved. Thanks...ModuleNotFoundError: No module named 'json-repository'  Hi, My
ModuleNotFoundError: No module named 'murano-repository'
named 'murano-repository' error? Thanks   Hi, In your...: No module named 'murano-repository' error will be solved. Thanks...ModuleNotFoundError: No module named 'murano-repository'  Hi, My
ModuleNotFoundError: No module named 'repository-flyingpeter'
: No module named 'repository-flyingpeter' error? Thanks   Hi...ModuleNotFoundError: No module named 'repository-flyingpeter'  Hi, My Python program is throwing following error: ModuleNotFoundError
ModuleNotFoundError: No module named 'repository-updater'
named 'repository-updater' error? Thanks   Hi, In your..., ModuleNotFoundError: No module named 'repository-updater' error will be solved...ModuleNotFoundError: No module named 'repository-updater'  Hi, My
ModuleNotFoundError: No module named 'spaceone-repository'
: No module named 'spaceone-repository' error? Thanks   Hi..., ModuleNotFoundError: No module named 'spaceone-repository' error...ModuleNotFoundError: No module named 'spaceone-repository'  Hi, My
A Maven2 Repository : An Introduction
A Maven2 Repository : An Introduction       Maven repository Types:  Public remote external repository: This public external repository exists at ibiblio.org
hibernate repository
In this section, you will learn how to use maven repository in your Hibernate project
Artifacts of avalon-repository
List of Artifacts of avalon-repository maven depenency
Local repository in Maven
Local repository in Maven  How to read the jars/plugins from local instead of online while building an application with Maven. Any detailed steps will be appreciated
maven repository apache beanutils
maven repository apache beanutils  Hi, What is the use of Apache Beanutils library? Share me code for apache beanutils maven dependency code. Thanks

Ads