aide command not found

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

Introduction

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

aide: command not found

or when using sudo you get the following error message

sudo: aide: command not found

Solutions to aide: command not found

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

In Ubuntu aide is provided by aide package.

aide is:

AIDE is an intrusion detection system that detects changes to files on the local system. It creates a database from the regular expression rules that it finds from the config file. Once this database is initialized it can be used to verify the integrity of the files. It has several message digest algorithms (md5, sha1, rmd160, tiger, haval, etc.) that are used to check the integrity of the file. More algorithms can be added with relative ease. All of the usual file attributes can also be checked for inconsistencies.

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

sudo apt-get -y install aide

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

You can also use apt command to install aide.

sudo apt -y install aide

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

sudo aptitude install aide

Summary

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