How To Install libvbr2 on Ubuntu 18.04

In this tutorial we learn how to install libvbr2 on Ubuntu 18.04. libvbr2 is Library for RFC 5518 Vouch By Reference (VBR)

Introduction

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

What is libvbr2

libvbr2 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 RFC 5518 Vouch By Reference (VBR), a peer-to-peer domain reputation service protocol based on DKIM signed domains.

Vouch By Reference, or VBR, is a protocol for adding third-party certification to email. Specifically, VBR permits independent third parties to certify the owner of a domain name that is associated with received mail. VBR may be performed anywhere along the email transit path, by any capable receiving module, either within the handling service or by end-user software.

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

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

sudo apt-get update

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

sudo apt-get -y install libvbr2

Install libvbr2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvbr2

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

sudo aptitude -y install libvbr2

How To Uninstall libvbr2 on Ubuntu 18.04

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

sudo apt-get remove libvbr2

Uninstall libvbr2 And Its Dependencies

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

sudo apt-get -y autoremove libvbr2

Remove libvbr2 Configurations and Data

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

sudo apt-get -y purge libvbr2

Remove libvbr2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libvbr2

References

Summary

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