Skip to content

Subscription Manager

Use the subscription-manager command to register a system without using a graphical environment. The subscription-manager command can automatically attach a system to the best-matched compatible subscriptions for the system.

  • Register a system to a Red Hat account:
subscription-manager register --username=username --password=password
  • View available subscriptions:
subscription-manager list --available
  • Auto-attach or specify a pool subscription:
subscription-manager attach --auto
subscription-manager attach --pool=poolID
  • List available repositories:
dnf repolist
subscription-manager repos --list
subscription-manager repos --list-enabled
  • Unregister a system:
subscription-manager unregister

Summary

Subscription Management provides tools to entitle machines to product subscriptions, get updates to software packages, and track information about support contracts and subscriptions used by the systems.

RHEL uses RPM packages to make it easy to install, upgrade, and uninstall the software on a system.

Command References:

subscription-manager.