Yum does not work - there are no active repositories.

I am trying to install "libstdc ++. I686" with

yum install libstdc++.i686 

but he cannot fix this error:

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

[sudo] password for qa:

There are no active repositories. ** Run "yum repolist all" to see the repositions you have.

You can enable repositions with yum-config-manager --enable


I looked at the repos.d directory (/etc/yum/repos.d) and its empty, and opend yum.conf and did not see any repositories.

How do I get the repository I need?

+8
linux installation yum
source share
1 answer

ok, so the problem was that I tried installing the package with yum , which is the main tool for receiving, installing, uninstalling, 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 use ubuntu and the usual way to install packages on the command line in Ubuntu with apt-get. therefore the correct command is:

 sudo apt-get install libstdc++.i686 
+10
source share

All Articles