Chapter 3. Enable the Required Repositories Once the system is registered to either the RHEL for SAP Applications or the RHEL for SAP Solutions subscriptions as described in the chapter, the appropriate repositories can be enabled so that all required packages can be installed. 3.1. SAP NetWeaver/SAP ABAP Application Platform For SAP NetWeaver/SAP ABAP Application Platform on RHEL 9, enable the one of the following sets of repos: Platform Repo ID (normal) Repo ID (eus) Repo ID (e4s) x86_64 rhel-9-for-x86_64-baseos-rpms rhel-9-for-x86_64-appstream-rpms rhel-9-for-x86_64-sap-netweaver-rpms rhel-9-for-x86_64-highavailability-rpms (#) rhel-9-for-x86_64-baseos-eus-rpms rhel-9-for-x86_64-appstream-eus-rpms rhel-9-for-x86_64-sap-netweaver-eus-rpms rhel-9-for-x86_64-highavailability-eus-rpms (#) rhel-9-for-x86_64-baseos-e4s-rpms rhel-9-for-x86_64-appstream-e4s-rpms rhel-9-for-x86_64-sap-netweaver-e4s-rpms rhel-9-for-x86_64-highavailability-e4s-rpms (#) ppc64le rhel-9-for-ppc64le-baseos-rpms rhel-9-for-ppc64le-appstream-rpms rhel-9-for-ppc64le-sap-netweaver-rpms rhel-9-for-ppc64le-highavailability-rpms (#) rhel-9-for-ppc64le-baseos-eus-rpms rhel-9-for-ppc64le-appstream-eus-rpms rhel-9-for-ppc64le-sap-netweaver-eus-rpms rhel-9-for-ppc64le-highavailability-eus-rpms (#) rhel-9-for-ppc64le-baseos-e4s-rpms rhel-9-for-ppc64le-appstream-e4s-rpms rhel-9-for-ppc64le-sap-netweaver-e4s-rpms rhel-9-for-ppc64le-highavailability-e4s-rpms (#) s390x rhel-9-for-s390x-baseos-rpms rhel-9-for-s390x-appstream-rpms rhel-9-for-s390x-sap-netweaver-rpms rhel-9-for-s390x-highavailability-rpms (#) rhel-9-for-s390x-baseos-eus-rpms rhel-9-for-s390x-appstream-eus-rpms rhel-9-for-s390x-sap-netweaver-eus-rpms rhel-9-for-s390x-highavailability-eus-rpms (#) - (#) This repo is only needed if one of the Red Hat HA solutions for SAP is going to be used. Note To use the EUS or E4S variants of the repos, the RHEL 9 minor release must be set via subscription-manager. There are no RHEL 9 E4S repos for the s390x platform. The "normal", "EUS" and "E4S" variants of the repos can't be enabled at the same time, since they provide different versions of the same packages which will lead to package version conflicts when trying to install or update packages. To enable the normal repos for SAP NetWeaver/SAP ABAP Application Platform on RHEL 9, run the following command: # subscription-manager repos \ --disable="*" \ --enable="rhel-9-for-USD(uname -m)-baseos-rpms" \ --enable="rhel-9-for-USD(uname -m)-appstream-rpms" \ --enable="rhel-9-for-USD(uname -m)-sap-netweaver-rpms" To enable the EUS repos for SAP NetWeaver/SAP ABAP Application Platform on RHEL 9 (on RHEL 9 minor releases where EUS repos are available) if one of the Red Hat HA solutions for SAP is going to be used, run the following command: # subscription-manager release --set=9.0 # subscription-manager repos \ --disable="*"\ --enable="rhel-9-for-USD(uname -m)-baseos-eus-rpms" \ --enable="rhel-9-for-USD(uname -m)-appstream-eus-rpms" \ --enable="rhel-9-for-USD(uname -m)-sap-netweaver-eus-rpms" \ --enable="rhel-9-for-USD(uname -m)-highavailability-eus-rpms" 3.2. SAP HANA (with or without SAP NetWeaver/SAP ABAP Application Platform) For SAP HANA on RHEL 9, enable the following repos (enabling the sap-netweaver repos would not be necessary for SAP HANA only systems but for simplicity and greater flexibility, it is recommend to enable these in all cases): Platform Repo ID x86_64 rhel-9-for-x86_64-baseos-e4s-rpms rhel-9-for-x86_64-appstream-e4s-rpms rhel-9-for-x86_64-sap-solutions-e4s-rpms rhel-9-for-x86_64-sap-netweaver-e4s-rpms rhel-9-for-x86_64-highavailability-e4s-rpms (#) ppc64le rhel-9-for-ppc64le-baseos-e4s-rpms rhel-9-for-ppc64le-appstream-e4s-rpms rhel-9-for-ppc64le-sap-solutions-e4s-rpms rhel-9-for-ppc64le-sap-netweaver-e4s-rpms rhel-9-for-ppc64le-highavailability-e4s-rpms (#) (#) This repo is only needed if one of the Red Hat HA solutions for SAP is going to be used. Note SAP HANA is not supported on the s390x (IBM System Z) platform. To use the "e4s" variant of the repos, the RHEL 9 minor release must be set via subscription-manager to a RHEL 9 minor release for which "Update Services for SAP Solutions" (E4S) is available. Please check Update Services for SAP Solutions for the list of RHEL 9 minor releases for which "Update Services for SAP Solutions" (E4S) is available. For example, to set the release lock on a RHEL 9.0 system, run the following command: # subscription-manager release --set=9.0 To enable the correct repos for SAP HANA on a RHEL 9 system (on RHEL 9 minor releases where E4S repos are available), run the following command: # subscription-manager repos \ --disable="*" \ --enable="rhel-9-for-USD(uname -m)-baseos-e4s-rpms" \ --enable="rhel-9-for-USD(uname -m)-appstream-e4s-rpms" \ --enable="rhel-9-for-USD(uname -m)-sap-solutions-e4s-rpms" \ --enable="rhel-9-for-USD(uname -m)-sap-netweaver-e4s-rpms" To enable the correct repos for SAP HANA on a RHEL 9 system (on RHEL 9 minor releases where E4S repos are available) if one of the Red Hat HA solutions for SAP is going to be used, run the following command: # subscription-manager repos \ --disable="*" \ --enable="rhel-9-for-USD(uname -m)-baseos-e4s-rpms" \ --enable="rhel-9-for-USD(uname -m)-appstream-e4s-rpms" \ --enable="rhel-9-for-USD(uname -m)-sap-solutions-e4s-rpms" \ --enable="rhel-9-for-USD(uname -m)-sap-netweaver-e4s-rpms" \ --enable="rhel-9-for-USD(uname -m)-highavailability-e4s-rpms"

Commands:
subscription-manager repos --disable="*" --enable="rhel-9-for-USD(uname -m)-baseos-rpms" --enable="rhel-9-for-USD(uname -m)-appstream-rpms" --enable="rhel-9-for-USD(uname -m)-sap-netweaver-rpms"
subscription-manager release --set=9.0 subscription-manager repos --disable="*" --enable="rhel-9-for-USD(uname -m)-baseos-eus-rpms" --enable="rhel-9-for-USD(uname -m)-appstream-eus-rpms" --enable="rhel-9-for-USD(uname -m)-sap-netweaver-eus-rpms" --enable="rhel-9-for-USD(uname -m)-highavailability-eus-rpms"
subscription-manager release --set=9.0
subscription-manager repos --disable="*" --enable="rhel-9-for-USD(uname -m)-baseos-e4s-rpms" --enable="rhel-9-for-USD(uname -m)-appstream-e4s-rpms" --enable="rhel-9-for-USD(uname -m)-sap-solutions-e4s-rpms" --enable="rhel-9-for-USD(uname -m)-sap-netweaver-e4s-rpms"
subscription-manager repos --disable="*" --enable="rhel-9-for-USD(uname -m)-baseos-e4s-rpms" --enable="rhel-9-for-USD(uname -m)-appstream-e4s-rpms" --enable="rhel-9-for-USD(uname -m)-sap-solutions-e4s-rpms" --enable="rhel-9-for-USD(uname -m)-sap-netweaver-e4s-rpms" --enable="rhel-9-for-USD(uname -m)-highavailability-e4s-rpms"