Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • There is no repository enabled in /etc/yum.repos.d

    Posted on

    I'm getting the following error when trying to install a package: There is no repository enabled in /etc/yum.repos.d.

    I realized that to have access to the redhat repositories I need to have an account on the site, I did that and after that I linked it to my terminal with the commands:

    • sudo subscription-manager register
    • sudo subscription manager refresh

    Usually when I checked the /etc/yum.repos.d/redhat.repo file the directories were all there, but gone. What could have happened?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat