hatop command not found

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

Introduction

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

hatop: command not found

or when using sudo you get the following error message

sudo: hatop: command not found

Solutions to hatop: command not found

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

In Ubuntu hatop is provided by hatop package.

hatop is:

HATop is an interactive ncurses client and real-time monitoring, statistics displaying tool for the HAProxy TCP/HTTP load balancer.

HATop’s appearance is similar to top(1). It supports various modes for detailed statistics of all configured proxies and services in near realtime. In addition, it features an interactive CLI for the haproxy unix socket. This allows administrators to control the given haproxy instance (change server weight, put servers into maintenance mode, …) directly out of hatop (using keybinds or the CLI) and monitor the results immediately.

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

sudo apt-get -y install hatop

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

You can also use apt command to install hatop.

sudo apt -y install hatop

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

sudo aptitude install hatop

Summary

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