Working with Subscription yum Repos

As says, CentOS Subscription Manager works with package management tools like yum. Subscription Manager has its own yum plug-ins: product-id for subscription-related information for products and subscription-manager which is used for the content repositories.

As systems are subscribed to products, the associated content repositories (identified in the entitlement certificate) are made available to the system. The content repositories are based on the product and on the content delivery network, defined in the baseurl parameter of the rhsm.conf file.

A subscription may include access to optional content channels along with the default channels. This optional channels must be enabled before the packages in them can be installed (even if the system is fully entitled to the products in those channels).

  1. List all available repos for the system, including disabled repos.
[root@server ~]# yum repolist all
repo id                      repo name                           status
rhel-5-server                Red Hat Enterprise Linux 5Server -  enabled:    1,749
rhel-5-server-beta           Red Hat Enterprise Linux 5Server Be enabled:      869
rhel-5-server-optional-rpms  Red Hat Enterprise Linux 5Server Op disabled
rhel-5-server-supplementary  Red Hat Enterprise Linux 5Server Su disabled

The optional and supplementary channels are named rhel-5-server-optional-rpms and rhel-5-server-supplementary, respectively.