2.3. Enabling the Required Repositories
2.3. Enabling the Required Repositories 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. Enabling the Required Repositories Using Subscription Manager Register your system with the Content Delivery Network, entering your Customer Portal user name and password when prompted: # subscription-manager register Locate the relevant subscription pools and note down the pool identifiers: # subscription-manager list --available Use the pool identifiers to attach the required subscriptions: # subscription-manager attach --pool= pool_id When a system is attached 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 Ensure that all packages currently installed are up to date: # dnf upgrade --nobest Note For versions of Red Hat Enterprise Linux earlier than 8, use the command yum update instead of dnf upgrade : # yum update See also Cannot perform yum update on my RHV manager (ansible conflict)
subscription-manager register subscription-manager list --available subscription-manager attach --pool= pool_id subscription-manager repos --enable= repository dnf upgrade --nobest yum update