capstats command not found

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

Introduction

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

capstats: command not found

or when using sudo you get the following error message

sudo: capstats: command not found

Solutions to capstats: command not found

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

In Ubuntu capstats is provided by capstats package.

capstats is:

capstats is a small tool for collecting statistics on the current load of a network interface, using either libpcap or the native interface for Endace’s. It reports statistics per time interval and/or for the tool’s total run-time.

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

sudo apt-get -y install capstats

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

You can also use apt command to install capstats.

sudo apt -y install capstats

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

sudo aptitude install capstats

Summary

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