How To Install libopendmarc-dev on Ubuntu 18.04

In this tutorial we learn how to install libopendmarc-dev on Ubuntu 18.04. libopendmarc-dev is Headers and development libraries for the OpenDMARC library

Introduction

In this tutorial we learn how to install libopendmarc-dev on Ubuntu 18.04.

What is libopendmarc-dev

libopendmarc-dev 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 the required header files and development libraries for developing against the OpenDMARC library.

There are three methods to install libopendmarc-dev on Ubuntu 18.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 libopendmarc-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libopendmarc-dev

Install libopendmarc-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libopendmarc-dev

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

sudo aptitude -y install libopendmarc-dev

How To Uninstall libopendmarc-dev on Ubuntu 18.04

To uninstall only the libopendmarc-dev package we can use the following command:

sudo apt-get remove libopendmarc-dev

Uninstall libopendmarc-dev And Its Dependencies

To uninstall libopendmarc-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libopendmarc-dev

Remove libopendmarc-dev Configurations and Data

To remove libopendmarc-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libopendmarc-dev

Remove libopendmarc-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libopendmarc-dev

References

Summary

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