How To Install dmarcts-report-parser on Debian 12

Learn how to install dmarcts-report-parser on Debian 12 with this tutorial. dmarcts-report-parser is Perl based tool to parse DMARC reports

Introduction

In this tutorial we learn how to install dmarcts-report-parser on Debian 12.

What is dmarcts-report-parser

dmarcts-report-parser is:

This DMARC reports parser is based on John Levine’s rddmarc, extended by the following features:

* Allows one to read messages from an IMAP server and not only from the
  local filesystem.
* Store much more XML values into the database (for example the missing SPF
  and DKIM results from the policy_evaluated section) and also the entire
  XML for later reference.
* Needed database tables and columns are created automatically, user only
  needs to provide a database. The database schema is compatible to the one
  used by rddmarc, but extends it by additional fields. Users can switch
  from rddmarc to dmarcts-report-parser without having to do any changes
  to the database by themselves.

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

Install dmarcts-report-parser Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dmarcts-report-parser

Install dmarcts-report-parser Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dmarcts-report-parser using apt by running the following command:

sudo apt -y install dmarcts-report-parser

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

sudo aptitude -y install dmarcts-report-parser

How To Uninstall dmarcts-report-parser on Debian 12

To uninstall only the dmarcts-report-parser package we can use the following command:

sudo apt-get remove dmarcts-report-parser

Uninstall dmarcts-report-parser And Its Dependencies

To uninstall dmarcts-report-parser and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove dmarcts-report-parser

Remove dmarcts-report-parser Configurations and Data

To remove dmarcts-report-parser configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge dmarcts-report-parser

Remove dmarcts-report-parser configuration, data, and all of its dependencies

We can use the following command to remove dmarcts-report-parser configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dmarcts-report-parser

Dependencies

dmarcts-report-parser have the following dependencies:

References

Summary

In this tutorial we learn how to install dmarcts-report-parser package on Debian 12 using different package management tools: apt, apt-get and aptitude.