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.5. Subscribing to the Required Entitlements Using Subscription Manager
- Register your system with the Content Delivery Network, entering your Customer Portal user name and password when prompted:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager register
# subscription-manager register
- Locate the relevant subscription pools and note down the pool identifiers.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager list --available
# subscription-manager list --available
- Use the pool identifiers located in the previous step to attach the required entitlements.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager attach --pool=pool_id
# subscription-manager attach --pool=pool_id
- Disable all existing repositories:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager repos --disable=*
# subscription-manager repos --disable=*
- 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:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow subscription-manager repos --enable=repository
# subscription-manager repos --enable=repository
- Ensure that all packages currently installed are up to date:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow yum update
# yum update