latencytop command not found

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

Introduction

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

latencytop: command not found

or when using sudo you get the following error message

sudo: latencytop: command not found

Solutions to latencytop: command not found

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

In Ubuntu latencytop is provided by latencytop package.

latencytop is:

LatencyTOP is a Linux tool for software developers (both kernel and userspace), aimed at identifying where in the system latency is happening, and what kind of operation/action is causing the latency to happen so that the code can be changed to avoid the worst latency hiccups.

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

sudo apt-get -y install latencytop

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

You can also use apt command to install latencytop.

sudo apt -y install latencytop

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

sudo aptitude install latencytop

Summary

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