How To Install fcheck on Debian 9
Introduction
In this tutorial we learn how to install fcheck on Debian 9.
What is fcheck
fcheck is:
The fcheck utility is an IDS (Intrusion Detection System) which can be used to monitor changes to any given filesystem.
Essentially, fcheck has the ability to monitor directories, files or complete filesystems for any additions, deletions, and modifications. It is configurable to exclude active log files, and can be run as often as needed from the command line or cron making it extremely difficult to circumvent.
There are three methods to install fcheck 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 fcheck Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install fcheck using apt-get by running the following command:
sudo apt-get -y install fcheck
Install fcheck Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install fcheck using apt by running the following command:
sudo apt -y install fcheck
Install fcheck 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 fcheck using aptitude by running the following command:
sudo aptitude -y install fcheck
How To Uninstall fcheck on Debian 9
To uninstall only the fcheck package we can use the following command:
sudo apt-get remove fcheck
Uninstall fcheck And Its Dependencies
To uninstall fcheck and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove fcheck
Remove fcheck Configurations and Data
To remove fcheck configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge fcheck
Remove fcheck configuration, data, and all of its dependencies
We can use the following command to remove fcheck configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fcheck
Dependencies
fcheck have the following dependencies:
References
Summary
In this tutorial we learn how to install fcheck package on Debian 9 using different package management tools: apt, apt-get and aptitude.