Show Table of Contents
6.2. Enabling supplementary and optional repositories
As product subscriptions are attached to systems, the associated content repositories (identified in the subscription 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 repositories along with the default repositories. 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 repositories can be enabled using the --enable option with the repos command:
[root@server ~]# subscription-manager repos --enable rhel-6-server-optional-rpms
The optional and supplementary channels are named rhel-6-server-optional-rpmsand rhel-6-server-supplementary, respectively. Likewise, unwanted repositories can be disabled using the repos --disable command.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.