logcheck command not found

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

Introduction

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

logcheck: command not found

or when using sudo you get the following error message

sudo: logcheck: command not found

Solutions to logcheck: command not found

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

In Ubuntu logcheck is provided by logcheck package.

logcheck is:

Logcheck helps spot problems and security violations in your logfiles automatically and will send the results to you in e-mail.

Logcheck was part of the Abacus Project of security tools, but this version has been rewritten.

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

sudo apt-get -y install logcheck

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

You can also use apt command to install logcheck.

sudo apt -y install logcheck

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

sudo aptitude install logcheck

Summary

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