Enabling required RHEL repositories

Last Updated : Aug 15, 2022 |
Prolog information
If you subscribe to the Red Hat subscription, you must enable the following RHEL repositories before installing the system layer:
  • rhel-9-for-x86_64-baseos-rpms
  • rhel-9-for-x86_64-appstream-rpms
These repositories contain RPMs that are required for system layer installation.
Before you begin
Subscribe to the Red Hat subscription.
  1. Log in to the RHEL virtual machine as the root user using an SSH connection.
  2. Run the following command to view the enabled repositories:
    ADDITIONAL INFORMATION:
    yum repolist
  3. Ensure that the command output contains the following entries in the repo idcolumn:
    ADDITIONAL INFORMATION:
    • rhel-9-for-x86_64-baseos-rpms for rhel-9-for-x86_64-baseos-rpms.
    • rhel-9-for-x86_64-appstream-rpms for rhel-9-for-x86_64-appstream-rpms
  4. If the command output does not contain the required entries, do the following:
    • To enable the rhel-9-for-x86_64-baseos-rpms repository, run the following command:
      subscription-manager repos --enable=rhel-9-for-x86_64-baseos-rpms
    • To enable the rhel-9-for-x86_64-appstream-rpms repository, run the following command:
      subscription-manager repos --enable=rhel-9-for-x86_64-appstream-rpms