Chapter 7. Uninstalling Directory Server

download PDF

In certain situations, administrators what to uninstall Directory Server from a host. This chapter describes this procedure.

7.1. Uninstalling Directory Server

If you no longer require Directory Server running on a server, uninstall the packages as described in this section.


  • Directory Server installed on the host


  1. Remove all instances from the replication topology. If you instance is not a member of a replication topology skip this step.

    For details about removing an instance from the topology, see Removing a Supplier from the Replication Topology in the Red Hat Directory Server Administration Guide.

  2. Remove all instances from the server.

    For details, see Removing a Directory Server Instance in the Red Hat Directory Server Administration Guide.

  3. Remove the Directory Server packages:

    # yum module remove redhat-ds
  4. Optionally, disable the dirsrv-11-for-rhel-8-x86_64-rpms repository:

    # subscription-manager repos --disable=dirsrv-11-for-rhel-8-x86_64-rpms
    Repository 'dirsrv-11-for-rhel-8-x86_64-rpms' is disabled for this system.
  5. Optionally, remove the Red Hat Directory Server subscription from the system:


    If you remove a subscription that provides additional products than Directory Server, you will not be able to install or update packages for these products.

    • List the subscriptions attached to the host:

      # subscription-manager list --consumed
      Subscription Name:   Example Subscription
      Pool-ID:             5ab6a8df96b03fd30aba9a9c58da57a1
    • Remove the subscription using the pool id from the previous step:

      # subscription-manager remove --pool=5ab6a8df96b03fd30aba9a9c58da57a1
      2 local certificates have been deleted.
      The entitlement server successfully removed these pools:
      The entitlement server successfully removed these serial numbers:

Additional resources

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.