whichman command not found

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

Introduction

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

whichman: command not found

or when using sudo you get the following error message

sudo: whichman: command not found

Solutions to whichman: command not found

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

In Ubuntu whichman is provided by whichman package.

whichman is:

whichman uses a fault tolerant approximate matching algorithm to search for man-pages that match approximately the specified name. The fault tolerant matching is very useful in cases where you remember only roughly the name of a command.

Example: whichman netwhat
This finds netstat.8: /usr/share/man/man8/netstat.8

ftff searches the directory tree. This is a case in-sensitive and fault tolerant way of ‘find . -name xxxx -print’.

ftwhich finds files which are in one of the directories in your PATH and uses a fault tolerant search algorithm.

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

sudo apt-get -y install whichman

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

You can also use apt command to install whichman.

sudo apt -y install whichman

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

sudo aptitude install whichman

Summary

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