sst_dump command not found

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

Introduction

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

sst_dump: command not found

or when using sudo you get the following error message

sudo: sst_dump: command not found

Solutions to sst_dump: command not found

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

In Ubuntu sst_dump is provided by rocksdb-tools package.

rocksdb-tools is:

C++ library providing an embedded key-value store, where keys and values are arbitrary byte streams. It was developed at Facebook based on LevelDB and provides backwards-compatible support for LevelDB APIs.

RocksDB is optimized for Flash with extremely low latencies. RocksDB uses a Log Structured Database Engine for storage, written entirely in C++.

RocksDB features highly flexible configuration settings that may be tuned to run on a variety of production environments, including pure memory, Flash, hard disks or HDFS. It supports various compression algorithms and good tools for production support and debugging.

Features:

  • Designed for application servers wanting to store up to a few terabytes of data on locally attached Flash drives or in RAM
  • Optimized for storing small to medium size key-values on fast storage – flash devices or in-memory
  • Scales linearly with number of CPUs so that it works well on ARM processors

This package contains administration and data access tools.

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

sudo apt-get -y install rocksdb-tools

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

You can also use apt command to install rocksdb-tools.

sudo apt -y install rocksdb-tools

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

sudo aptitude install rocksdb-tools

Summary

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