tdb command not found

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

Introduction

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

tdb: command not found

or when using sudo you get the following error message

sudo: tdb: command not found

Solutions to tdb: command not found

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

In Ubuntu tdb is provided by traildb-cli package.

traildb-cli is:

TrailDB is a highly optimized database library, written in C, which allows you to store and query trillions of discrete events quickly. In contrast to many other time-series databases, TrailDB focuses on discrete data, like events in a log file, which it can compress efficiently using a custom compression algorithm.

This package contains cli tool for traildb.

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

sudo apt-get -y install traildb-cli

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

You can also use apt command to install traildb-cli.

sudo apt -y install traildb-cli

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

sudo aptitude install traildb-cli

Summary

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