How To Install libldb.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libldb.x86_64 in Amazon Linux 2. libldb.x86_64 is A schema-less, ldap like, API and database

Introduction

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

What is libldb.x86_64

An extensible library that implements an LDAP like API to access remote LDAP servers, or use local tdb databases.

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

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

sudo yum -y install libldb.x86_64

How To Uninstall libldb.x86_64 on Amazon Linux 2

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

sudo yum remove libldb.x86_64

libldb.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/ldb
/usr/lib64/ldb/libldb-key-value.so
/usr/lib64/ldb/libldb-tdb-err-map.so
/usr/lib64/ldb/libldb-tdb-int.so
/usr/lib64/ldb/modules
/usr/lib64/ldb/modules/ldb
/usr/lib64/ldb/modules/ldb/asq.so
/usr/lib64/ldb/modules/ldb/ldb.so
/usr/lib64/ldb/modules/ldb/paged_searches.so
/usr/lib64/ldb/modules/ldb/rdn_name.so
/usr/lib64/ldb/modules/ldb/sample.so
/usr/lib64/ldb/modules/ldb/server_sort.so
/usr/lib64/ldb/modules/ldb/skel.so
/usr/lib64/ldb/modules/ldb/tdb.so
/usr/lib64/libldb.so.1
/usr/lib64/libldb.so.1.5.4

References

Summary

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