• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

subscription-manager: command not found

by admin

Red Hat Subscription Management (RHSM) is a customer-driven, end-to-end solution that provides subscription status and management tools and integrates with Red Hat’s system management tools.

If you encounter the below error while running the subscription-manager command:

subscription-manager: command not found

you may install the subscription-manager package as per your choice of distribution.

Distribution Command
CentOS yum install subscription-manager
Fedora dnf install subscription-manager

subscription-manager Command Examples

1. Register and activate Red Hat Subscription:

# subscription-manager register --username your_username --password your_password

2. To unregister your system use unregister switch:

# subscription-manager unregister

3. To get a list of all your available subscriptions use list switch:

# subscription-manager list -available

4. To active it a subscription use the Subscription Pool ID:

# subscription-manager subscribe --pool=Pool ID number

5. Get a status of your consumed subscriptions:

# subscription-manager list –consumed

6. To check your enabled subscriptions use the below command.

# subscription-manager list

7. To remove all your active subscriptions use –all argument:

# subscription-manager remove --all

8. To remove a specific pool:

# subscription-manager unsubscribe --serial=Serial number

9. To list the available service levels:

# subscription-manager service-level --list
# subscription-manager service-level --set=self-support

10. Enable Yum Repositories:

# subscription-manager repos --list

Filed Under: Linux

Some more articles you might also be interested in …

  1. emerge Command Examples in Gentoo Linux
  2. mkfs.xfs: command not found
  3. How to Audit File Access on Linux
  4. mg Command Examples
  5. calc: An interactive arbitrary-precision calculator in the terminal
  6. auracle Command Examples
  7. cmake: Cross-platform build automation system, that generates recipes for native build systems
  8. smbmap: command not found
  9. make: command not found
  10. pstree Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright