darkstat command not found

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

Introduction

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

darkstat: command not found

or when using sudo you get the following error message

sudo: darkstat: command not found

Solutions to darkstat: command not found

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

In Ubuntu darkstat is provided by darkstat package.

darkstat is:

It is a packet sniffer which runs as a background process and serves its statistics to a web browser:

  • input and output IP traffic by machines, ports and protocols,
  • last minute, hourly, daily and monthly global input and output graphics.

It is known to be smaller (in terms of memory footprint) and stabler than ntop.

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

sudo apt-get -y install darkstat

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

You can also use apt command to install darkstat.

sudo apt -y install darkstat

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

sudo aptitude install darkstat

Summary

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