How To Install lmdb on Fedora 34
Introduction
In this tutorial we learn how to install lmdb
on Fedora 34.
What is lmdb
LMDB is an ultra-fast, ultra-compact key-value embedded data store developed by Symas for the OpenLDAP Project. By using memory-mapped files, it provides the read performance of a pure in-memory database while still offering the persistence of standard disk-based databases, and is only limited to the size of the virtual address space. lmdb 0.9.29 1.fc34 x86_64 32 k lmdb-0.9.29-1.fc34.src.rpm fedora Memory-mapped key-value database http OpenLDAP LMDB is an ultra-fast, ultra-compact key-value embedded data store developed by Symas for the OpenLDAP Project. By using memory-mapped files, it provides the read performance of a pure in-memory database while still offering the persistence of standard disk-based databases, and is only limited to the size of the virtual address space.
We can use yum
or dnf
to install lmdb
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install lmdb.
Install lmdb 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 lmdb
using dnf
by running the following command:
sudo dnf -y install lmdb
Install lmdb 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 lmdb
using yum
by running the following command:
sudo yum -y install lmdb
How To Uninstall lmdb on Fedora 34
To uninstall only the lmdb
package we can use the following command:
sudo dnf remove lmdb
lmdb Package Contents on Fedora 34
/usr/bin/mdb_copy
/usr/bin/mdb_dump
/usr/bin/mdb_load
/usr/bin/mdb_stat
/usr/lib/.build-id
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/a7691e6b7d3290028bfdc2f966b5fd699284fa
/usr/lib/.build-id/52
/usr/lib/.build-id/52/44f3cbe7d0c65587bdbf184dc6b378a334e3e8
/usr/lib/.build-id/59
/usr/lib/.build-id/59/4f14f219af2dc1f64b3fd958ea3763773f167d
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/f0c8172cc461bf846ab3e86f46dead5188c323
/usr/share/man/man1/mdb_copy.1.gz
/usr/share/man/man1/mdb_dump.1.gz
/usr/share/man/man1/mdb_load.1.gz
/usr/share/man/man1/mdb_stat.1.gz
/usr/bin/mdb_copy
/usr/bin/mdb_dump
/usr/bin/mdb_load
/usr/bin/mdb_stat
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/a289fe64ebdf9a08a5656f18aeaa07659f1f1e
/usr/lib/.build-id/69
/usr/lib/.build-id/69/d1ece71ae99e385bbabf9917eca0c9e111a602
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/4feb8b7bc4f175208389aab519cc184593cb9f
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/25d0933a568ff0dac4a5d07a35b85d5fdef3c3
/usr/share/man/man1/mdb_copy.1.gz
/usr/share/man/man1/mdb_dump.1.gz
/usr/share/man/man1/mdb_load.1.gz
/usr/share/man/man1/mdb_stat.1.gz
References
- [lmdb website](http://symas.com/mdb http://symas.com/mdb)
Summary
In this tutorial we learn how to install lmdb
on Fedora 34 using yum and dnf.