How To Install integrit on Debian 9
Introduction
In this tutorial we learn how to install integrit
on Debian 9.
What is integrit
integrit is:
Integrit helps you determine whether an intruder has modified your system. Without the use of integrit, a sysadmin wouldn’t know if the programs used for investigating the system are trojan horses or not. Integrit works by creating a database that is a snapshot of the most essential parts of the system. You put the database somewhere safe, and then later you can use it to make sure that no one has made any illicit modifications to your file system.
Integrit’s key features are the small memory footprint, the design with unattended use in mind, intuitive cascading rulesets for the paths listed in the configuration file, the possibility of XML or human-readable output, and simultaneous checks and updates.
See http://integrit.sourceforge.net/ for more information.
There are three methods to install integrit
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install integrit Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install integrit
using apt-get
by running the following command:
sudo apt-get -y install integrit
Install integrit Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install integrit
using apt
by running the following command:
sudo apt -y install integrit
Install integrit 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 integrit
using aptitude
by running the following command:
sudo aptitude -y install integrit
How To Uninstall integrit on Debian 9
To uninstall only the integrit
package we can use the following command:
sudo apt-get remove integrit
Uninstall integrit And Its Dependencies
To uninstall integrit
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove integrit
Remove integrit Configurations and Data
To remove integrit
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge integrit
Remove integrit configuration, data, and all of its dependencies
We can use the following command to remove integrit
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge integrit
Dependencies
integrit have the following dependencies:
References
Summary
In this tutorial we learn how to install integrit
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.