exiwhat command not found

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

Introduction

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

exiwhat: command not found

or when using sudo you get the following error message

sudo: exiwhat: command not found

Solutions to exiwhat: command not found

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

In Ubuntu exiwhat is provided by exim4-base package.

exim4-base is:

Exim (v4) is a mail transport agent. exim4-base provides the support files needed by all exim4 daemon packages. You need an additional package containing the main executable. The available packages are:

exim4-daemon-light exim4-daemon-heavy

If you build exim4 from the source package locally, you can also build an exim4-daemon-custom package tailored to your own feature set.

The Debian exim4 packages have their own web page, http://wiki.debian.org/PkgExim4. There is also a Debian-specific FAQ list. Information about the way the Debian packages are configured can be found in /usr/share/doc/exim4-base/README.Debian.gz, which additionally contains information about the way the Debian binary packages are built. The very extensive upstream documentation is shipped in /usr/share/doc/exim4-base/spec.txt.gz. To repeat the debconf-driven configuration process in a standard setup, invoke dpkg-reconfigure exim4-config. There is a Debian-centered mailing list, [email protected]. Please ask Debian-specific questions there, and only write to the upstream exim-users mailing list if you are sure that your question is not Debian-specific. You can find the subscription web page on http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users

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

sudo apt-get -y install exim4-base

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

You can also use apt command to install exim4-base.

sudo apt -y install exim4-base

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

sudo aptitude install exim4-base

Summary

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