innstat command not found

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

Introduction

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

innstat: command not found

or when using sudo you get the following error message

sudo: innstat: command not found

Solutions to innstat: command not found

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

In Ubuntu innstat is provided by inn2 package.

inn2 is:

This package provides INN 2.x, which is a very complex news server daemon useful for big sites. The ‘inn’ package still exists for smaller sites which do not need the complexity of INN 2.x.

The news transport is the part of the system that stores the articles and the lists of which groups are available and so on, and provides those articles on request to users. It receives news (either posted locally or from a newsfeed site), files it, and passes it on to any downstream sites. Each article is kept for a period of time and then deleted (this is known as ’expiry’).

By default Debian’s INN will install in a fairly simple ’local-only’ configuration.

In order to make use of the services provided by INN you’ll have to use a user-level newsreader program such as pan. The newsreader is the program that fetches articles from the server and shows them to the user, remembering which the user has seen so that they don’t get shown again. It also provides the posting interface for the user.

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

sudo apt-get -y install inn2

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

You can also use apt command to install inn2.

sudo apt -y install inn2

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

sudo aptitude install inn2

Summary

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