How To Install libimap-admin-perl on Debian 10

Learn how to install libimap-admin-perl on Debian 10 with this tutorial. libimap-admin-perl is Perl module for administrating IMAP servers

Introduction

In this tutorial we learn how to install libimap-admin-perl on Debian 10.

What is libimap-admin-perl

libimap-admin-perl is:

IMAP::Admin provides basic IMAP server administration functions, providing functions for creating and deleting mailboxes, as well as setting various information such as quotas and access rights. It should theoretically work with any RFC compliant IMAP server, and also performs CAPABILITY checks for specific extensions to determine if they are supported.

There are three methods to install libimap-admin-perl on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libimap-admin-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libimap-admin-perl

Install libimap-admin-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libimap-admin-perl using apt by running the following command:

sudo apt -y install libimap-admin-perl

Install libimap-admin-perl 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libimap-admin-perl using aptitude by running the following command:

sudo aptitude -y install libimap-admin-perl

How To Uninstall libimap-admin-perl on Debian 10

To uninstall only the libimap-admin-perl package we can use the following command:

sudo apt-get remove libimap-admin-perl

Uninstall libimap-admin-perl And Its Dependencies

To uninstall libimap-admin-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libimap-admin-perl

Remove libimap-admin-perl Configurations and Data

To remove libimap-admin-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libimap-admin-perl

Remove libimap-admin-perl configuration, data, and all of its dependencies

We can use the following command to remove libimap-admin-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libimap-admin-perl

Dependencies

libimap-admin-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libimap-admin-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.