How To Install systraq on Debian 10

Learn how to install systraq on Debian 10 with this tutorial. systraq is monitor your system and warn when system files change

Introduction

In this tutorial we learn how to install systraq on Debian 10.

What is systraq

systraq is:

Systraq weekly sends you an email listing the state of your system. Furthermore, if critical files have changed, you’ll get an email within a shorter notice. Systraq consists of few very small shell scripts.

It can help you implementing a not too strict security policy. For more demanding systems, you’d better use something like tripwire or tiger. Make sure you really want to do the monitoring this script offers: it might not comply with your site’s privacy policy. Getting informed when users’ config file change might be too intrusive.

Other similar tools are available in Debian (`diffmon’ for instance), but systraq is less intrusive because it can warn for file changes without mailing a complete diff (which is not desirable for e.g. /etc/shadow).

There are three methods to install systraq on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install systraq Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install systraq using apt-get by running the following command:

sudo apt-get -y install systraq

Install systraq Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install systraq using apt by running the following command:

sudo apt -y install systraq

Install systraq 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 systraq using aptitude by running the following command:

sudo aptitude -y install systraq

How To Uninstall systraq on Debian 10

To uninstall only the systraq package we can use the following command:

sudo apt-get remove systraq

Uninstall systraq And Its Dependencies

To uninstall systraq and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove systraq

Remove systraq Configurations and Data

To remove systraq configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge systraq

Remove systraq configuration, data, and all of its dependencies

We can use the following command to remove systraq configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge systraq

Dependencies

systraq have the following dependencies:

References

Summary

In this tutorial we learn how to install systraq package on Debian 10 using different package management tools: apt, apt-get and aptitude.