How To Install aide-common on Debian 11
Introduction
In this tutorial we learn how to install aide-common
on Debian 11.
What is aide-common
aide-common 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.
This package contains base and configuration files that are needed to run the actual binaries.
You will almost certainly want to tweak the configuration file in /etc/aide/aide.conf or drop your own config snippets into /etc/aide/aide.conf.d.
There are three methods to install aide-common
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install aide-common Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install aide-common
using apt-get
by running the following command:
sudo apt-get -y install aide-common
Install aide-common Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install aide-common
using apt
by running the following command:
sudo apt -y install aide-common
Install aide-common Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install aide-common
using aptitude
by running the following command:
sudo aptitude -y install aide-common
How To Uninstall aide-common on Debian 11
To uninstall only the aide-common
package we can use the following command:
sudo apt-get remove aide-common
Uninstall aide-common And Its Dependencies
To uninstall aide-common
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove aide-common
Remove aide-common Configurations and Data
To remove aide-common
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge aide-common
Remove aide-common configuration, data, and all of its dependencies
We can use the following command to remove aide-common
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge aide-common
Dependencies
aide-common have the following dependencies:
References
Summary
In this tutorial we learn how to install aide-common
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.