dmarcts-report-parser command not found

In this troubleshooting guide we learn how to fix dmarcts-report-parser command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

dmarcts-report-parser: command not found

or when using sudo you get the following error message

sudo: dmarcts-report-parser: command not found

Solutions to dmarcts-report-parser: command not found

How To Fix dmarcts-report-parser: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dmarcts-report-parser is provided by dmarcts-report-parser package.

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.

To fix this problem, we can install more using the command below.

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

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install dmarcts-report-parser.

sudo apt -y install dmarcts-report-parser

Or if you have aptitude installed you can use the following command.

sudo aptitude install dmarcts-report-parser

Summary

In this tutorial we learn how to fix dmarcts-report-parser command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.