exim4-localscan-plugin-config command not found

In this troubleshooting guide we learn how to fix exim4-localscan-plugin-config command not found error message

Introduction

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

exim4-localscan-plugin-config: command not found

or when using sudo you get the following error message

sudo: exim4-localscan-plugin-config: command not found

Solutions to exim4-localscan-plugin-config: command not found

How To Fix exim4-localscan-plugin-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu exim4-localscan-plugin-config is provided by exim4-dev package.

exim4-dev is:

Exim (v4) is a mail transport agent. This package contains header files that can be used to compile code that is then dynamically linked to exim’s local_scan interface.

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-dev

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

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

sudo apt -y install exim4-dev

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

sudo aptitude install exim4-dev

Summary

In this tutorial we learn how to fix exim4-localscan-plugin-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.