How To Install ldapjdk on Fedora 36

In this tutorial we learn how to install ldapjdk in Fedora 36. ldapjdk is LDAP SDK

Introduction

In this tutorial we learn how to install ldapjdk on Fedora 36.

What is ldapjdk

The Mozilla LDAP SDKs enable you to write applications which access, manage, and update the information stored in an LDAP directory. MPLv1.1 or GPLv2+ or LGPLv2+ docs/ldapjdk/license.txt

We can use yum or dnf to install ldapjdk on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ldapjdk.

Install ldapjdk on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ldapjdk using dnf by running the following command:

sudo dnf -y install ldapjdk

Install ldapjdk on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ldapjdk using yum by running the following command:

sudo yum -y install ldapjdk

How To Uninstall ldapjdk on Fedora 36

To uninstall only the ldapjdk package we can use the following command:

sudo dnf remove ldapjdk

ldapjdk Package Contents on Fedora 36

/usr/share/java/ldapbeans.jar
/usr/share/java/ldapfilt.jar
/usr/share/java/ldapjdk.jar
/usr/share/java/ldapsp.jar
/usr/share/maven-poms/JPP-ldapbeans.pom
/usr/share/maven-poms/JPP-ldapfilter.pom
/usr/share/maven-poms/JPP-ldapjdk.pom
/usr/share/maven-poms/JPP-ldapsp.pom

References

Summary

In this tutorial we learn how to install ldapjdk on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).