cwhois command not found

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

Introduction

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

cwhois: command not found

or when using sudo you get the following error message

sudo: cwhois: command not found

Solutions to cwhois: command not found

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

In Ubuntu cwhois is provided by asused package.

asused is:

Asused is a tool which summarizes address space as registered in the RIPE database. For each allocated inetnum object a summary of used and free address space is printed. A grant total summary for all prefixes is also provided. If there are no errors in locating allocations and assignments under an allocation. In the total % are calculated on total allocations.

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

sudo apt-get -y install asused

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

You can also use apt command to install asused.

sudo apt -y install asused

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

sudo aptitude install asused

Summary

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