mtbl_dump command not found

In this troubleshooting guide we learn how to fix mtbl_dump command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mtbl_dump: command not found

or when using sudo you get the following error message

sudo: mtbl_dump: command not found

Solutions to mtbl_dump: command not found

How To Fix mtbl_dump: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mtbl_dump is provided by mtbl-bin package.

mtbl-bin is:

mtbl is a C library implementation of the Sorted String Table (SSTable) data structure, based on the SSTable implementation in the open source Google LevelDB library. An SSTable is a file containing an immutable mapping of keys to values. Keys are stored in sorted order, with an index at the end of the file allowing keys to be located quickly.

mtbl is not a database library. It does not provide an updateable key-value data store, but rather exposes primitives for creating, searching and merging SSTable files. Unlike databases which use the SSTable data structure internally as part of their data store, management of SSTable files – creation, merging, deletion, combining of search results from multiple SSTables – is left to the discretion of the mtbl library user.

This package contains command line utilities for libmtbl.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mtbl-bin

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mtbl-bin.

sudo apt -y install mtbl-bin

Or if you have aptitude installed you can use the following command.

sudo aptitude install mtbl-bin

Summary

In this tutorial we learn how to fix mtbl_dump command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.