-3

I download Red Hat Enterprise Linux today, and when I try to install a package, I get:

[root@localhost yum.repos.d]# yum install openssh
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Nothing to do

What to do?

  • 3
    Did you purchase a Redhat subscription? – Centimane Sep 12 '18 at 20:10
8

If you signed up to the no-cost developer license or have an actual license with Redhat, then you need to subscribe the server to RHN, using the subscription-manager command.

Use this command to register, using the credentials you use to access access.redhat.com.

subscription-manager register --username <username> --password <password> --auto-attach

2

While Redhat fully adheres and is a big contributor to many open-source projects, its business model requires its customers to buy a license in order to use its products and services.

The usual alternative if you don't intend to pay money for the license, is to use its clone, built from the very same sources RHEL is built upon: CentOS. Almost everything will be the same, except mostly two things: license management tools, and security fixes tag informations (ie, it's difficult to know if an upgrade is a security fix or not, but the upgrade will exist nonetheless).

So you should consider reinstalling from a CentOS installation image instead.

  • It's possible that the asker actually has licenses, but doesn't know how to register their system properly. – Centimane Sep 12 '18 at 20:10
  • @Centimane if that's the case, I'll delete my answer. I considered this was unlikely – A.B Sep 12 '18 at 20:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.