How To Install libldb on Rocky Linux 8

In this tutorial we learn how to install libldb on Rocky Linux 8. libldb is A schema-less, ldap like, API and database

Introduction

In this tutorial we learn how to install libldb on Rocky Linux 8.

What is libldb

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

We can use yum or dnf to install libldb on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libldb.

Install libldb on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libldb using dnf by running the following command:

sudo dnf -y install libldb

Install libldb on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libldb using yum by running the following command:

sudo yum -y install libldb

How To Uninstall libldb on Rocky Linux 8

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

sudo dnf remove libldb

libldb Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/bc43af409aab1499d68d474c51622e22f397d4
/usr/lib/.build-id/23
/usr/lib/.build-id/23/217335cba39c82b39e52341af76afc8ca927a6
/usr/lib/.build-id/56
/usr/lib/.build-id/56/a25b94f67942317e7a1ae1037965e7b317a6e2
/usr/lib/.build-id/81
/usr/lib/.build-id/81/0d1ea2779311bdc4775d546632a30153b6541a
/usr/lib/.build-id/98
/usr/lib/.build-id/98/97e13d736b8aeec848c88563228df87b9a3fd7
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/ee98fe395a14cc264382be63cc3ce6193f8066
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/34a0c7d565f4c858a674a8601d1dff5a46a343
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/65b42115436f41b4d796128b54ede266e1772f
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/4d448ab246ef7eff46ce42e02b582e03ea9ec3
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/21981ce2e7bd67ac74ddd366f6df7afaee2a06
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/c34320913b8308ee81a4f160cc0a27763bf34d
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/1bce4328e5e62db4eac91a8c3b96b8b23d1012
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/fa6d77a680560c3d2178387fccaa5f3f46ccd0
/usr/lib/ldb
/usr/lib/ldb/libldb-key-value.so
/usr/lib/ldb/libldb-tdb-err-map.so
/usr/lib/ldb/libldb-tdb-int.so
/usr/lib/ldb/modules
/usr/lib/ldb/modules/ldb
/usr/lib/ldb/modules/ldb/asq.so
/usr/lib/ldb/modules/ldb/ldap.so
/usr/lib/ldb/modules/ldb/ldb.so
/usr/lib/ldb/modules/ldb/paged_searches.so
/usr/lib/ldb/modules/ldb/rdn_name.so
/usr/lib/ldb/modules/ldb/sample.so
/usr/lib/ldb/modules/ldb/server_sort.so
/usr/lib/ldb/modules/ldb/skel.so
/usr/lib/ldb/modules/ldb/tdb.so
/usr/lib/libldb.so.2
/usr/lib/libldb.so.2.2.0
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/32cd9c4864cc4b2041a31ce6d5b45a75f9a923
/usr/lib/.build-id/33
/usr/lib/.build-id/33/7062443c7c135a973c684739f99c3445e5d393
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/14e6e54a08c2cd232ae330da8887c6bf78e0e7
/usr/lib/.build-id/48
/usr/lib/.build-id/48/721177be82ad3678458ed67acca9ee3937ce1b
/usr/lib/.build-id/62
/usr/lib/.build-id/62/878a0d7d22e1321bb88a8a1fca3c6a7081bf80
/usr/lib/.build-id/68
/usr/lib/.build-id/68/3d56e253c29f1b27586eb1c7843b8a76758bab
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/99530f06f95b60810eeb81665fd4898e9270be
/usr/lib/.build-id/88
/usr/lib/.build-id/88/09675659aa3487fa3305dbd04e7540259b3271
/usr/lib/.build-id/90
/usr/lib/.build-id/90/bd820c66769b0930a7edc86a09ebabf663c044
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/ab39df55083ed19c03020f57b35322f1c14b2c
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/6e7c6ea2bd7528ce6c7b9addbccb76a5b2911a
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/3e7a238c8d48654a6568031b4c86342da51807
/usr/lib/.build-id/da
/usr/lib/.build-id/da/13bd66ec16ed93ab660ad840e9c4cc04a39702
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/2dfe52acf49e99dfa6342572f6aae8aa5180f2
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/c8ffe4a7064b7cf49e764517fda85455587b5c
/usr/lib64/ldb
/usr/lib64/ldb/libldb-key-value.so
/usr/lib64/ldb/libldb-mdb-int.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/ldap.so
/usr/lib64/ldb/modules/ldb/ldb.so
/usr/lib64/ldb/modules/ldb/mdb.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.2
/usr/lib64/libldb.so.2.2.0

References

Summary

In this tutorial we learn how to install libldb on Rocky Linux 8 using yum and dnf.