Linux – Yum fails with – There are no enabled repos.

installationlinuxyum

I'm trying to install "libstdc++.i686" with

yum install libstdc++.i686

but it failes beacuse of this error:

qa@qa-teamcity01:/usr/local/nsis/nsis-2.46-src$ sudo yum install
libstdc++.i686

[sudo] password for qa:

There are no enabled repos. **Run "yum repolist all" to see the repos
you have.

You can enable repos with yum-config-manager –enable


I've looked at my repos.d directory (/etc/yum/repos.d) and its empty,
and opend yum.conf file and didn't see any repositories.

How do i get the repositery that i need?

Best Answer

ok, so my problem was that I tried to install the package with yum which is the primary tool for getting, installing, deleting, querying, and managing Red Hat Enterprise Linux RPM software packages from official Red Hat software repositories, as well as other third-party repositories.

But I'm using ubuntu and The usual way to install packages on the command line in Ubuntu is with apt-get. so the right command was:

sudo apt-get install libstdc++.i686
Related Topic