Package / system tool

subscription-manager — RHEL family

subscription-manager is used for package management or system administration in the RHEL family. Consult the distribution manual for release-specific behaviour.

Availability: RHEL, Fedora, Rocky Linux and related distributions; exact package manager depends on release.中文

Syntax

subscription-manager command

Examples

subscription-manager is used for package management or system administration in the RHEL family. Consult the distribution manual for release-specific behaviour.

subscription-manager status

Show command help and options where supported.

subscription-manager --help

Parameters, options and clauses

Option / clauseDescription
statusShow subscription status.
identityShow the registered system identity.
registerRegister the system; valid account or activation credentials are required.
repos --listList repositories available to the registered system.
Safety note

Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.

Official reference ↗Back to directory