mdb_dump command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mdb_dump: command not found
or when using sudo you get the following error message
sudo: mdb_dump: command not found
Solutions to mdb_dump: command not found
How To Fix mdb_dump: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mdb_dump is provided by lmdb-utils package.
lmdb-utils is:
This package provides tools for manipulating LMDB databases:
- mdb_stat - LMDB environment status tool
- mdb_copy - LMDB environment copy tool
Lighting Memory-Mapped Database (LMDB) is an ultra-fast, ultra-compact key-value embedded data store developed for the OpenLDAP Project. It uses memory-mapped files, so it has 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, (it is not limited to the size of physical RAM).
To fix this problem, we can install more using the command below.
sudo apt-get -y install lmdb-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lmdb-utils.
sudo apt -y install lmdb-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install lmdb-utils
Summary
In this tutorial we learn how to fix mdb_dump command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.