Chapter 1. Enabling Directory Server repositories


Before installing Directory Server packages, you must enable Directory Server repositories. Depending on your subscription type, you can enable the following Directory Server repositories:

  • The default Directory Server repository
  • The Extended Update Support (EUS) repository

Use the following procedure to enable the default and EUS repositories.

Prerequisites

  • You registered the system to the Red Hat Subscription Management service.
  • You have a valid Red Hat Directory Server subscription in your Red Hat account.

Procedure

  1. Optional: If you do not have enabled RHEL default BaseOS and AppStream repositories, you must enable these repositories:

    • To enable the default RHEL repositories, run:

      # subscription-manager repos \
      	--enable=rhel-9-for-x86_64-appstream-rpms \
      	--enable=rhel-9-for-x86_64-baseos-rpms
      Repository 'rhel-9-for-x86_64-appstream-rpms' is enabled for this system.
      Repository 'rhel-9-for-x86_64-baseos-rpms' is enabled for this system.
    • To enable the RHEL EUS repositories:

      1. Optional: If you do not have the RHEL EUS release set to the minor version, for example to 9.6, run:

        # subscription-manager release --set=9.6
      2. Enable the RHEL EUS repositories:

        # subscription-manager repos \
        	--enable=rhel-9-for-x86_64-appstream-eus-rpms \
        	--enable=rhel-9-for-x86_64-baseos-eus-rpms
        Repository 'rhel-9-for-x86_64-appstream-eus-rpms' is enabled for this system.
        Repository 'rhel-9-for-x86_64-baseos-eus-rpms' is enabled for this system.
  2. Enable the Directory Server repository:

    1. To enable the default Directory Server repository, run:

      # subscription-manager repos --enable=dirsrv-12-for-rhel-9-x86_64-rpms
      Repository 'dirsrv-12-for-rhel-9-x86_64-rpms' is enabled for this system.
    2. To enable the Directory Server EUS repository for the, run:

      # subscription-manager repos --enable=dirsrv-12-for-rhel-9-x86_64-eus-rpms
      Repository 'dirsrv-12-for-rhel-9-x86_64-eus-rpms' is enabled for this system.
      Important
      When you enable the Directory Server EUS repository, make sure that you also enabled RHEL EUS repositories.

Verification

  • List enabled default Directory Server repositories:

    # subscription-manager repos --list-enabled

    The following is the output of the command depending of the repository type:

    • For Directory Server 12.6, the command displays:

      +----------------------------------------------------------+
          Available Repositories in /etc/yum.repos.d/redhat.repo
      +----------------------------------------------------------+
      Repo ID:   rhel-9-for-x86_64-appstream-rpms
      Repo Name: Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9/x86_64/appstream/os
      Enabled:   1
      
      Repo ID:   rhel-9-for-x86_64-baseos-rpms
      Repo Name: Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os
      Enabled:   1
      
      Repo ID:   dirsrv-12-for-rhel-9-x86_64-rpms
      Repo Name: Red Hat Directory Server 12 for RHEL 9 x86_64 (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9/x86_64/dirsrv/12/os
      Enabled:   1
    • For Directory Server 12.6 EUS, the command displays:

      +----------------------------------------------------------+
          Available Repositories in /etc/yum.repos.d/redhat.repo
      +----------------------------------------------------------+
      Repo ID:   rhel-9-for-x86_64-appstream-eus-rpms
      Repo Name: Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9.6/x86_64/appstream/os
      Enabled:   1
      
      Repo ID:   rhel-9-for-x86_64-baseos-eus-rpms
      Repo Name: Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9.6/x86_64/baseos/os
      Enabled:   1
      
      Repo ID:   dirsrv-12-for-rhel-9-x86_64-eus-rpms
      Repo Name: Red Hat Directory Server 12 for RHEL 9 x86_64 (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9.6/x86_64/dirsrv/12/os
      Enabled:   1
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top