Why are we getting an error `yum-config-manager command not found`?

Solution Verified - Updated -

Issue

  • Why are we unable to add a 3rd party repository?
  • Why are we not able to enable / disable the Red Hat repository?

Example :

[root@rhel ~]# yum-config-manager --add-repo <repository_url> 
-bash: yum-config-manager: command not found 

Or

[root@rhel ~]# yum-config-manager --enable=rhel-server-rhscl-7-rpms
-bash: yum-config-manager: command not found

Environment

  • Red Hat Enterprise Linux Server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content