How To Install lmdb on AlmaLinux 8
Introduction
In this tutorial we learn how to install lmdb on AlmaLinux 8.
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.
We can use yum or dnf to install lmdb on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lmdb.
Install lmdb on AlmaLinux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install lmdb using dnf by running the following command:
sudo dnf -y install lmdb
Install lmdb on AlmaLinux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
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 AlmaLinux 8
To uninstall only the lmdb package we can use the following command:
sudo dnf remove lmdb
References
Summary
In this tutorial we learn how to install lmdb on AlmaLinux 8 using yum and dnf.