How To Install libvbr-dev on Ubuntu 18.04

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

Introduction

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

What is libvbr-dev

libvbr-dev 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 the required header files and development libraries for developing against the OpenDKIM project VBR library.

There are three methods to install libvbr-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 libvbr-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 libvbr-dev using apt-get by running the following command:

sudo apt-get -y install libvbr-dev

Install libvbr-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvbr-dev

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

sudo aptitude -y install libvbr-dev

How To Uninstall libvbr-dev on Ubuntu 18.04

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

sudo apt-get remove libvbr-dev

Uninstall libvbr-dev And Its Dependencies

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

sudo apt-get -y autoremove libvbr-dev

Remove libvbr-dev Configurations and Data

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

sudo apt-get -y purge libvbr-dev

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

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

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

References

Summary

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