vnstati command not found

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

Introduction

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

vnstati: command not found

or when using sudo you get the following error message

sudo: vnstati: command not found

Solutions to vnstati: command not found

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

In Ubuntu vnstati is provided by vnstati package.

vnstati is:

vnStati provides image output support for statistics collected using vnStat. The image file format is limited to png. All basic outputs of vnStat are supported excluding live traffic features. The image can be outputted either to a file or to standard output.

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

sudo apt-get -y install vnstati

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

You can also use apt command to install vnstati.

sudo apt -y install vnstati

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

sudo aptitude install vnstati

Summary

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