2.3. Subscribing to the Required Entitlements


To install packages signed by Red Hat you must register the target system to the Content Delivery Network. Then, use an entitlement from your subscription pool and enable the required repositories.

Procedure 2.6. Subscribing to the Required Entitlements Using Subscription Manager

  1. Register your system with the Content Delivery Network, entering your Customer Portal user name and password when prompted:
    # subscription-manager register
    Copy to Clipboard Toggle word wrap
  2. Locate the relevant subscription pools and note down the pool identifiers.
    # subscription-manager list --available
    Copy to Clipboard Toggle word wrap
  3. Use the pool identifiers located in the previous step to attach the required entitlements.
    # subscription-manager attach --pool=pool_id
    Copy to Clipboard Toggle word wrap
  4. Disable all existing repositories:
    # subscription-manager repos --disable=*
    Copy to Clipboard Toggle word wrap
  5. When a system is subscribed to a subscription pool with multiple repositories, only the main repository is enabled by default. Others are available, but disabled. Enable any additional repositories:
    # subscription-manager repos --enable=repository
    Copy to Clipboard Toggle word wrap
  6. Ensure that all packages currently installed are up to date:
    # yum update
    Copy to Clipboard Toggle word wrap
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat