whohas command not found

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

Introduction

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

whohas: command not found

or when using sudo you get the following error message

sudo: whohas: command not found

Solutions to whohas: command not found

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

In Ubuntu whohas is provided by whohas package.

whohas is:

whohas is a command line tool that allows you to query several package collections at once.

It supports Arch Linux, AUR, Debian, Fedora, Gentoo, openSUSE, Slackware, Source Mage, Ubuntu, FreeBSD, NetBSD, OpenBSD, Fink, Mandriva and MacPorts.

whohas was designed to help package maintainers find ebuilds, pkgbuilds, and similar package definitions from other distributions to learn from. However, it can also be used by normal users who want to know which distribution provides certain packages, and which version of a given package is in use in each distribution or in each release of a distribution.

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

sudo apt-get -y install whohas

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

You can also use apt command to install whohas.

sudo apt -y install whohas

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

sudo aptitude install whohas

Summary

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