How To Install ldapjdk.noarch on Amazon Linux 2

In this tutorial we learn how to install ldapjdk.noarch in Amazon Linux 2. ldapjdk.noarch is The Mozilla LDAP Java SDK

Introduction

In this tutorial we learn how to install ldapjdk.noarch on Amazon Linux 2.

What is ldapjdk.noarch

The Mozilla LDAP SDKs enable you to write applications which access, manage, and update the information stored in an LDAP directory.

We can use yum to install ldapjdk.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ldapjdk.noarch.

Install ldapjdk.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ldapjdk.noarch

How To Uninstall ldapjdk.noarch on Amazon Linux 2

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

sudo yum remove ldapjdk.noarch

ldapjdk.noarch Package Contents on Amazon Linux 2

/usr/share/java-1.3.0/jndi-ldap.jar
/usr/share/java/ldapbeans.jar
/usr/share/java/ldapfilt.jar
/usr/share/java/ldapjdk.jar
/usr/share/java/ldapsp.jar
/usr/share/maven-fragments/ldapjdk
/usr/share/maven-poms/JPP-ldapjdk.pom

References

Summary

In this tutorial we learn how to install ldapjdk.noarch on Amazon Linux 2 using yum.