How To Install courier-authlib-dev on Ubuntu 20.04

In this tutorial we learn how to install courier-authlib-dev on Ubuntu 20.04. courier-authlib-dev is Development libraries for the Courier authentication library

Introduction

In this tutorial we learn how to install courier-authlib-dev on Ubuntu 20.04.

What is courier-authlib-dev

courier-authlib-dev is:

This package contains the development libraries and files needed to compile Courier packages that use the Courier authentication library.

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

sudo apt-get -y install courier-authlib-dev

Install courier-authlib-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install courier-authlib-dev

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

sudo aptitude -y install courier-authlib-dev

How To Uninstall courier-authlib-dev on Ubuntu 20.04

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

sudo apt-get remove courier-authlib-dev

Uninstall courier-authlib-dev And Its Dependencies

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

sudo apt-get -y autoremove courier-authlib-dev

Remove courier-authlib-dev Configurations and Data

To remove courier-authlib-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge courier-authlib-dev

Remove courier-authlib-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge courier-authlib-dev

References

Summary

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