How To Install openldap.x86_64 on Amazon Linux 2

In this tutorial we learn how to install openldap.x86_64 in Amazon Linux 2. openldap.x86_64 is LDAP support libraries

Introduction

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

What is openldap.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 package contains configuration files, libraries, and documentation for OpenLDAP.

We can use yum to install openldap.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.x86_64.

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

sudo yum -y install openldap.x86_64

How To Uninstall openldap.x86_64 on Amazon Linux 2

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

sudo yum remove openldap.x86_64

openldap.x86_64 Package Contents on Amazon Linux 2

/etc/openldap
/etc/openldap/certs
/etc/openldap/ldap.conf
/usr/lib/tmpfiles.d/openldap.conf
/usr/lib64/liblber-2.4.so.2
/usr/lib64/liblber-2.4.so.2.10.7
/usr/lib64/libldap-2.4.so.2
/usr/lib64/libldap-2.4.so.2.10.7
/usr/lib64/libldap_r-2.4.so.2
/usr/lib64/libldap_r-2.4.so.2.10.7
/usr/lib64/libslapi-2.4.so.2
/usr/lib64/libslapi-2.4.so.2.10.7
/usr/libexec/openldap
/usr/libexec/openldap/create-certdb.sh
/usr/share/doc/openldap-2.4.44
/usr/share/doc/openldap-2.4.44/ANNOUNCEMENT
/usr/share/doc/openldap-2.4.44/CHANGES
/usr/share/doc/openldap-2.4.44/COPYRIGHT
/usr/share/doc/openldap-2.4.44/LICENSE
/usr/share/doc/openldap-2.4.44/README
/usr/share/man/man5/ldap.conf.5.gz
/usr/share/man/man5/ldif.5.gz

References

Summary

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