How To Install openldap.i686 on Amazon Linux 2

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

Introduction

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

What is openldap.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install openldap.i686.

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

sudo yum -y install openldap.i686

How To Uninstall openldap.i686 on Amazon Linux 2

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

sudo yum remove openldap.i686

openldap.i686 Package Contents on Amazon Linux 2

/etc/openldap
/etc/openldap/certs
/etc/openldap/ldap.conf
/usr/lib/liblber-2.4.so.2
/usr/lib/liblber-2.4.so.2.10.7
/usr/lib/libldap-2.4.so.2
/usr/lib/libldap-2.4.so.2.10.7
/usr/lib/libldap_r-2.4.so.2
/usr/lib/libldap_r-2.4.so.2.10.7
/usr/lib/libslapi-2.4.so.2
/usr/lib/libslapi-2.4.so.2.10.7
/usr/lib/tmpfiles.d/openldap.conf
/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.i686 on Amazon Linux 2 using yum.