Chapter 5. Configuring options in Red Hat Subscription Manager

5.1. Enabling supplementary and optional repositories

As product subscriptions are attached to systems, the system gains access to content repositories that are identified in the system’s certificate. Content repositories are based on the product and on the content delivery network (CDN) that are defined in the rhsm.conf file.
A subscription may include access to optional content repositories in addition to the default repositories that are automatically enabled on the system. These optional repositories must be enabled before the packages in them can be installed even if the system has the appropriate subscriptions for the products in those repositories.
List all available repos for the system, including disabled repos:
[root@server1 ~]# subscription-manager repos --list
The optional and supplementary channels are named
rhel-6-server-optional-rpms
and
rhel-6-server-supplementary
respectively.
The repositories can be enabled using the
--enable
command:
[root@server ~]# subscription-manager repos --enable rhel-6-server-optional-rpms
Likewise, unwanted repositories can be disabled using the
repos --disable
command.