How To Install libopendmarc2 on Ubuntu 20.04

In this tutorial we learn how to install libopendmarc2 on Ubuntu 20.04. libopendmarc2 is Library for DMARC validation and reporting

Introduction

In this tutorial we learn how to install libopendmarc2 on Ubuntu 20.04.

What is libopendmarc2

libopendmarc2 is:

Domain-based Message Authentication, Reporting and Conformance (DMARC), builds on the successes of technologies such as DomainKeys Identified Mail (DKIM) and the Sender Policy Framework (SPF) to create an infrastructure that enforces policy on domain names that are visible to end users, and creates a feedback framework for identifying and tracking fraudulent use of domain names in email.

This package provides library for implementing mail validation and reporting for the experimental DMARC standard.

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

Install libopendmarc2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libopendmarc2

Install libopendmarc2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libopendmarc2

Install libopendmarc2 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libopendmarc2

How To Uninstall libopendmarc2 on Ubuntu 20.04

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

sudo apt-get remove libopendmarc2

Uninstall libopendmarc2 And Its Dependencies

To uninstall libopendmarc2 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libopendmarc2

Remove libopendmarc2 Configurations and Data

To remove libopendmarc2 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libopendmarc2

Remove libopendmarc2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libopendmarc2

References

Summary

In this tutorial we learn how to install libopendmarc2 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.