kstats command not found

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

Introduction

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

kstats: command not found

or when using sudo you get the following error message

sudo: kstats: command not found

Solutions to kstats: command not found

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

In Ubuntu kstats is provided by aircrack-ng package.

aircrack-ng is:

aircrack-ng is an 802.11a/b/g WEP/WPA cracking program that can recover a 40-bit, 104-bit, 256-bit or 512-bit WEP key once enough encrypted packets have been gathered. Also it can attack WPA1/2 networks with some advanced methods or simply by brute force.

It implements the standard FMS attack along with some optimizations, thus making the attack much faster compared to other WEP cracking tools. It can also fully use a multiprocessor system to its full power in order to speed up the cracking process.

aircrack-ng is a fork of aircrack, as that project has been stopped by the upstream maintainer.

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

sudo apt-get -y install aircrack-ng

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

You can also use apt command to install aircrack-ng.

sudo apt -y install aircrack-ng

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

sudo aptitude install aircrack-ng

Summary

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