Chapter 7. Updating Directory Server to a new minor version

download PDF

Red Hat frequently releases updated versions of Red Hat Directory Server 12. This section describes how to update the Directory Server packages.

If you instead want to migrate Red Hat Directory Server 11 to version 12, see Migrating Directory Server 11 to Directory Server 12.

7.1. Updating the Directory Server packages

Use the dnf utility to update the module, which also automatically updates the related packages. The following procedure updates Directory Server from version 12.3 to 12.4.


  • Red Hat Directory Server 12.3 is installed on the server.
  • You have a valid Red Hat Directory Server subscription in your Red Hat account.


  1. Disable the Directory Server 12.3 repository:

    # subscription-manager repos --disable dirsrv-12.3-for-rhel-9-x86_64-rpms
    Repository 'dirsrv-12.3-for-rhel-9-x86_64-rpms' is disabled for this system.
  2. Enable the Directory Server 12.4 repository:

    # subscription-manager repos --enable=dirsrv-12.4-for-rhel-9-x86_64-rpms
    Repository 'dirsrv-12.4-for-rhel-9-x86_64-rpms' is enabled for this system.
  3. Update the Directory Server packages:

    # dnf module update redhat-ds

    The dnf module update redhat-ds command updates Directory Server packages and their dependencies to version 12.4.

The update process automatically restarts the dirsrv services for all instances on the server.

Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


About Red Hat Documentation

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

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.

© 2024 Red Hat, Inc.