How To Install openldap-clients.x86_64 on Amazon Linux 2

In this tutorial we learn how to install openldap-clients.x86_64 in Amazon Linux 2. openldap-clients.x86_64 is LDAP client utilities

Introduction

In this tutorial we learn how to install openldap-clients.x86_64 on Amazon Linux 2.

What is openldap-clients.x86_64

OpenLDAP is an open-source suite of LDAP (Lightweight Directory Access Protocol) applications and development tools. LDAP is a set of protocols for accessing directory services (usually phone book style information, but other information is possible) over the Internet, similar to the way DNS (Domain Name System) information is propagated over the Internet. The openldap-clients package contains the client programs needed for accessing and modifying OpenLDAP directories.

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

Install openldap-clients.x86_64 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 openldap-clients.x86_64 using yum by running the following command:

sudo yum -y install openldap-clients.x86_64

How To Uninstall openldap-clients.x86_64 on Amazon Linux 2

To uninstall only the openldap-clients.x86_64 package we can use the following command:

sudo yum remove openldap-clients.x86_64

openldap-clients.x86_64 Package Contents on Amazon Linux 2

/usr/bin/ldapadd
/usr/bin/ldapcompare
/usr/bin/ldapdelete
/usr/bin/ldapexop
/usr/bin/ldapmodify
/usr/bin/ldapmodrdn
/usr/bin/ldappasswd
/usr/bin/ldapsearch
/usr/bin/ldapurl
/usr/bin/ldapwhoami
/usr/share/man/man1/ldapadd.1.gz
/usr/share/man/man1/ldapcompare.1.gz
/usr/share/man/man1/ldapdelete.1.gz
/usr/share/man/man1/ldapexop.1.gz
/usr/share/man/man1/ldapmodify.1.gz
/usr/share/man/man1/ldapmodrdn.1.gz
/usr/share/man/man1/ldappasswd.1.gz
/usr/share/man/man1/ldapsearch.1.gz
/usr/share/man/man1/ldapurl.1.gz
/usr/share/man/man1/ldapwhoami.1.gz

References

Summary

In this tutorial we learn how to install openldap-clients.x86_64 on Amazon Linux 2 using yum.