How To Install libldb on Fedora 34

libldb is A schema-less, ldap like, API and database A schema-less, ldap like, API and database

Introduction

In this tutorial we learn how to install libldb on Fedora 34.

What is libldb

An extensible library that implements an LDAP like API to access remote LDAP servers, or use local tdb databases. libldb 2.3.0 2.fc34 x86_64 181 k libldb-2.3.0-2.fc34.src.rpm updates A schema-less, ldap like, API and database http LGPLv3+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libldb.

Install libldb on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libldb

Install libldb on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libldb

libldb Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/60953c11bdadcce03a0b183db2b1e872455d44
/usr/lib/.build-id/40
/usr/lib/.build-id/40/4bce78880812ea464852855817f96be966b257
/usr/lib/.build-id/52
/usr/lib/.build-id/52/60deb9b599a7e98e81f34f6b5f13d18ef4f8d1
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/7004c8b10c8e472f19dc91d8e0be810341cf7e
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/ccc7d612ce7481436d3bd41291a565dd94636c
/usr/lib/.build-id/80
/usr/lib/.build-id/80/06386b1c42801a818bae23791c6743d28fa6f8
/usr/lib/.build-id/97
/usr/lib/.build-id/97/a735c5bcd92d425644449dcd3f1e5a26471336
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/30dce1dab7b2d015d7b7a5d35ce7061e50cc5a
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/5041f43df3ba09f2d011663e60bb37adcb8bcb
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/7ff598dbfb723489b3ce1d9fd231fb55c7400e
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/bc0c3a13629093c3d8654b2f29176c4af98e3f
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/327bfcdbc6ad6e3d9cbff3537aa6488ebc1372
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/23fd0db99c020f068cf817e65b6137789d4898
/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.3.0
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/d5464b26a50515746818c521ac1f15f037379d
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/d51dac37f5061e35ecce150cb1b2eaa07161d5
/usr/lib/.build-id/30
/usr/lib/.build-id/30/70954e9dba18c082e793c98c46ee79bb48737e
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/a4c875941a3128b2fbd7810b1d937f1a0e80ad
/usr/lib/.build-id/53
/usr/lib/.build-id/53/b535ba64b1414cf0cfc00135591c280c2338eb
/usr/lib/.build-id/57
/usr/lib/.build-id/57/96bd6bb42f7e5206429ff1d7bd13a94504d5f8
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/d3b70cb17f89b6d7eec412977de756abb89aee
/usr/lib/.build-id/64
/usr/lib/.build-id/64/b69ddfdca50cfb9bca18fa7dff825f97074c7c
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/fbf0e3d521887907299545a7e7d59b2594eb77
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/32968dbd370fb42e38fcd1b6d3c4166bfd0c6f
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/c636ef1cee7e9f4678a34b94c3b5d930ea5b0d
/usr/lib/.build-id/83
/usr/lib/.build-id/83/46017d6e9e45d0c3ae446550b48d3c5108b9dc
/usr/lib/.build-id/96
/usr/lib/.build-id/96/4bb1269c203bb14cdd8fc4ef697577fd4c80a0
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/7e91f5028586b6a4cf6f44d63cd60568f6cf00
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/d8eef0bbf2f6578cb9c62b6ec79d74d14652bb
/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.3.0
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/ac29cb56f200023c3f3857dbf343d5b2d818ae
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/82c8165c08ab7f0496abfea209c39bf0b95156
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/8f6f020200a3977423f14bee7cce932481450f
/usr/lib/.build-id/43
/usr/lib/.build-id/43/a4add10f382c0968fb004471c35c2c38795591
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/1089a267b2f85b3d077df1f888ac95cb684b10
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/9db1819b0c3541a116fea4ba3b2df830375171
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/c908ed8124ef61fc9e672373eb2a9cf94ea072
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/5d9cd71756307c8690b4a4748c3710faee86e5
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/4d2d2a2f6b4e80f42e9f63b3a177fa484167f5
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/82ea7961d9bf9398ad7737b580415c26d11ae6
/usr/lib/.build-id/df
/usr/lib/.build-id/df/49deabf164601c8937a95c3eac1b7927b9843a
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/6977a7e46f593d87cc57abe82f520d9bc69422
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/40208f07820e07280bd4972212267325c38c3b
/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.3.0
/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/55316b161b808b41624b92b8838bd2ce84e062
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/5f6403dfb0e65d804f442c323ec197962f0f4e
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/2b3fe93e1ffb79363e2584cf7ba94d1a269e25
/usr/lib/.build-id/72
/usr/lib/.build-id/72/67293baf4f0c3b8b30c1006a8810895d87ebf7
/usr/lib/.build-id/84
/usr/lib/.build-id/84/7112306d8167b5f5f9808a3aede3443fae880c
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/63460baba547d5a1e43a7aa356e27da7fc7b9a
/usr/lib/.build-id/90
/usr/lib/.build-id/90/2a0b5e6ada838129e075295a23fc991ee02d61
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/24f87eadec2797b9423379eb94db93a5ae0a66
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/d6be54db9061f628c8c4634963332641318525
/usr/lib/.build-id/be
/usr/lib/.build-id/be/f714fbef8a557aed33158885a5828e44687c6f
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/b35160e17080b1fd2441fc9a77853365f23613
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/2817901d17eec2b79e5983afed5dfab004603a
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/6cdbc63dfa07da06c60b5d0ed0677b7f1b9b04
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/7f46d889606344d7d3c32d292f6931922e25b7
/usr/lib/.build-id/fe/f495ac8b70e438b8b58e160bf9950de1d0834b
/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.3.0

References

Summary

In this tutorial we learn how to install libldb on Fedora 34 using yum and dnf.