AnsiblePilot — Master Ansible Automation

AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,400 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.

Popular Topics

About Luca Berton

Luca Berton is an Ansible automation expert, author of 8 Ansible books published by Apress and Leanpub including "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example", and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.

Red Hat Enterprise Linux 9 Repositories List

By Luca Berton · Published 2024-01-01 · Category: installation

Explore Red Hat Enterprise Linux 9 repositories tailored for 64-bit Intel, AMD, and ARM architectures, supporting essential system packages and diverse.

Red Hat Enterprise Linux 9 Repositories List

Introduction

Red Hat Enterprise Linux (RHEL) 9 is a powerful operating system that caters to diverse hardware architectures, ensuring a seamless experience across various platforms. One of the key aspects of RHEL 9 is its repository system, which provides a centralized location for software packages, updates, and enhancements. In this article, we’ll explore the different repositories available for RHEL 9, focusing on the BaseOS and AppStream repositories for three major hardware architectures: 64-bit Intel and AMD, 64-bit ARM, and IBM Power (little endian) and IBM Z.

See also: Red Hat Enterprise Linux 9 for SysAdmins Book by Luca Berton & Jerome Gotangco

64-bit Intel and AMD

BaseOS Repository

Repository ID: rhel-9-for-x86_64-baseos-rpms

Repository name: Red Hat Enterprise Linux 9 for x86_64 — BaseOS (RPMs)

Release version: x86_64

The BaseOS repository for 64-bit Intel and AMD architecture serves as the foundation for RHEL 9. It contains essential packages and libraries required for the core functionality of the operating system.

AppStream Repository

Repository ID: rhel-9-for-x86_64-appstream-rpms

Repository name: Red Hat Enterprise Linux 9 for x86_64 — AppStream (RPMs)

Release version: x86_64

The AppStream repository complements the BaseOS by providing additional user-space applications, development tools, and runtime environments. It ensures a rich and diverse software ecosystem for RHEL 9 on 64-bit Intel and AMD platforms.

64-bit ARM

BaseOS Repository

Repository ID: rhel-9-for-aarch64-baseos-rpms

Repository name: Red Hat Enterprise Linux 9 for ARM 64 — BaseOS (RPMs)

Release version: aarch64

Designed for ARM 64 architecture, the BaseOS repository for RHEL 9 on 64-bit ARM includes fundamental packages essential for system functionality. It supports the unique requirements of ARM-based systems.

AppStream Repository

Repository ID: rhel-9-for-aarch64-appstream-rpms

Repository name: Red Hat Enterprise Linux 9 for ARM 64 — AppStream (RPMs)

Release version: aarch64

The AppStream repository for 64-bit ARM architecture complements the BaseOS, offering a variety of applications and software components to enhance the user experience on ARM-based systems.

See also: AAP 2.6 Upgrade Guide: RHEL 8 to 9 and RPM to Containerized Migration

IBM Power (little endian)

BaseOS Repository

Repository ID: rhel-9-for-ppc64le-baseos-rpms

Repository name: Red Hat Enterprise Linux 9 for Power, little endian — BaseOS (RPMs)

Release version: ppc64le

Tailored for IBM Power architecture in little-endian mode, the BaseOS repository for RHEL 9 on IBM Power provides essential packages and libraries, ensuring optimal performance and compatibility.

AppStream Repository

Repository ID: rhel-9-for-ppc64le-appstream-rpms

Repository name: Red Hat Enterprise Linux 9 for Power, little endian — AppStream (RPMs)

Release version: ppc64le

The AppStream repository for IBM Power (little endian) architecture complements the BaseOS, delivering a diverse range of user-space applications and tools to meet the specific needs of Power-based systems.

IBM Z

BaseOS Repository

Repository ID: rhel-9-for-s390x-baseos-rpms

Repository name: Red Hat Enterprise Linux 9 for IBM z Systems — BaseOS (RPMs)

Release version: s390x

Optimized for IBM Z Systems, the BaseOS repository for RHEL 9 on IBM Z includes essential packages and libraries, providing a stable foundation for the operating system on mainframe architectures.

AppStream Repository

Repository ID: rhel-9-for-s390x-appstream-rpms

Repository name: Red Hat Enterprise Linux 9 for IBM z Systems — AppStream (RPMs)

Release version: s390x

The AppStream repository for IBM Z Systems complements the BaseOS, offering a variety of applications and software components to enrich the user experience on mainframe architectures.

Remember to replace with the specific target OS version, such as 9.0, when configuring your system. Understanding and utilizing these repositories are crucial for managing software packages, updates, and ensuring a stable and feature-rich environment on Red Hat Enterprise Linux 9 across diverse hardware architectures.

See also: Ansible on RHEL 9 Automation Complete Guide

CodeReady Linux Builder and Supplementary

Beyond BaseOS and AppStream, two repositories are commonly enabled on RHEL 9. They are disabled by default:

  • CodeReady Linux Builder (CRB) — development libraries and tools needed to build software: codeready-builder-for-rhel-9-x86_64-rpms
  • Supplementary — packages with additional licensing terms: rhel-9-for-x86_64-supplementary-rpms

List and Enable Repositories

List the repositories your subscription provides, and which are currently enabled, with subscription-manager:

# every repository available to this system
subscription-manager repos --list

# only the repositories currently enabled
subscription-manager repos --list-enabled

Enable a repository manually:

subscription-manager repos --enable=rhel-9-for-x86_64-baseos-rpms
subscription-manager repos --enable=rhel-9-for-x86_64-appstream-rpms

Enable Repositories with Ansible

Automate the same step across a fleet with the community.general.rhsm_repository module so every RHEL 9 host ends up with an identical repository configuration:

---
- name: Configure RHEL 9 repositories
  hosts: rhel9
  become: true
  tasks:
    - name: Enable BaseOS, AppStream and CRB
      community.general.rhsm_repository:
        name:
          - rhel-9-for-x86_64-baseos-rpms
          - rhel-9-for-x86_64-appstream-rpms
          - codeready-builder-for-rhel-9-x86_64-rpms
        state: enabled

The module is idempotent: repositories already enabled report ok, and only missing ones are changed. The host must be registered with Red Hat Subscription Management first — see the related guides below.

Category: installation

Browse all Ansible tutorials · AnsiblePilot Home