diffmon command not found

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

Introduction

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

diffmon: command not found

or when using sudo you get the following error message

sudo: diffmon: command not found

Solutions to diffmon: command not found

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

In Ubuntu diffmon is provided by diffmon package.

diffmon is:

This tool is run by a nightly cron job, and takes a `diff’ of specified system configuration files and emails them to a specified email address. Options to diff can be specified. This is useful in friendly environments where there are multiple sysadmins working on configuration files/setups and everyone’s changes are reported. CVS is a better answer, but the most of people don’t want to have the hassle of putting system files in a repository.

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

sudo apt-get -y install diffmon

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

You can also use apt command to install diffmon.

sudo apt -y install diffmon

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

sudo aptitude install diffmon

Summary

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