tt command not found

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

Introduction

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

tt: command not found

or when using sudo you get the following error message

sudo: tt: command not found

Solutions to tt: command not found

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

In Ubuntu tt is provided by treetop package.

treetop is:

Treetop is a language for describing languages. It provides a Ruby implementation of a custom language based on parsing expression grammars (PEGs).

This package provides the top-level utility script tt.

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

sudo apt-get -y install treetop

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

You can also use apt command to install treetop.

sudo apt -y install treetop

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

sudo aptitude install treetop

Summary

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