prelude-lml-rules-check command not found

In this troubleshooting guide we learn how to fix prelude-lml-rules-check command not found error message

Introduction

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

prelude-lml-rules-check: command not found

or when using sudo you get the following error message

sudo: prelude-lml-rules-check: command not found

Solutions to prelude-lml-rules-check: command not found

How To Fix prelude-lml-rules-check: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu prelude-lml-rules-check is provided by prelude-lml-rules package.

prelude-lml-rules is:

The Prelude Log Monitoring Lackey (LML) is the host-based sensor program part of the Prelude SIEM suite. It can act as a centralized log collector for local or remote systems, or as a simple log analyzer (such as swatch). It can run as a network server listening on a syslog port or analyze log files. It supports logfiles in the BSD syslog format and is able to analyze any logfile by using the PCRE library. It can apply logfile-specific analysis through plugins such as PAX. It can send an alert to the Prelude Manager when a suspicious log entry is detected.

This package contains all rules (or signatures) for Prelude LML.

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

sudo apt-get -y install prelude-lml-rules

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

You can also use apt command to install prelude-lml-rules.

sudo apt -y install prelude-lml-rules

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

sudo aptitude install prelude-lml-rules

Summary

In this tutorial we learn how to fix prelude-lml-rules-check command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.