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

In this tutorial we learn how to install compat-openldap.x86_64 in Amazon Linux 2. compat-openldap.x86_64 is OpenLDAP compatibility shared libraries

Introduction

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

What is compat-openldap.x86_64

OpenLDAP is an open source suite of LDAP (Lightweight Directory Access Protocol) applications and development tools. The compat-openldap package includes older versions of the OpenLDAP shared libraries which may be required by some applications.

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

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

sudo yum -y install compat-openldap.x86_64

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

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

sudo yum remove compat-openldap.x86_64

compat-openldap.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/liblber-2.3.so.0
/usr/lib64/liblber-2.3.so.0.2.31
/usr/lib64/libldap-2.3.so.0
/usr/lib64/libldap-2.3.so.0.2.31
/usr/lib64/libldap_r-2.3.so.0
/usr/lib64/libldap_r-2.3.so.0.2.31
/usr/share/doc/compat-openldap-2.3.43
/usr/share/doc/compat-openldap-2.3.43/ANNOUNCEMENT
/usr/share/doc/compat-openldap-2.3.43/COPYRIGHT
/usr/share/doc/compat-openldap-2.3.43/LICENSE

References

Summary

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