How To Install libopendkim11 on Ubuntu 18.04

In this tutorial we learn how to install libopendkim11 on Ubuntu 18.04. libopendkim11 is Library for signing and verifying DomainKeys Identified Mail signatures

Introduction

In this tutorial we learn how to install libopendkim11 on Ubuntu 18.04.

What is libopendkim11

libopendkim11 is:

The OpenDKIM Project is a community effort to develop and maintain a C library for producing DKIM-aware applications and an open source milter for providing DomainKeys Identified Mail (DKIM) service.

This package provides library for implementing signing and verification of the DomainKeys Identified Mail (DKIM) standard. This library provides support for signing and verifying signatures according to RFC 4871, and supports both DomainKeys signing policy and DKIM ADSP.

There are three methods to install libopendkim11 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 libopendkim11 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libopendkim11

Install libopendkim11 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libopendkim11

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

sudo aptitude -y install libopendkim11

How To Uninstall libopendkim11 on Ubuntu 18.04

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

sudo apt-get remove libopendkim11

Uninstall libopendkim11 And Its Dependencies

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

sudo apt-get -y autoremove libopendkim11

Remove libopendkim11 Configurations and Data

To remove libopendkim11 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libopendkim11

Remove libopendkim11 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libopendkim11

References

Summary

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