How To Install libcourriel-perl on Debian 11
Introduction
In this tutorial we learn how to install libcourriel-perl
on Debian 11.
What is libcourriel-perl
libcourriel-perl is:
The Courriel class exists to provide a high level API for working with emails, particular for processing incoming email. It is primarily a wrapper around the other classes in the Courriel distro, especially Courriel::Headers, Courriel::Part::Single, and Courriel::Part::Multipart. If you need lower level information about an email, it should be available from one of this classes.
There are three methods to install libcourriel-perl
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libcourriel-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 libcourriel-perl
using apt-get
by running the following command:
sudo apt-get -y install libcourriel-perl
Install libcourriel-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcourriel-perl
using apt
by running the following command:
sudo apt -y install libcourriel-perl
Install libcourriel-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 libcourriel-perl
using aptitude
by running the following command:
sudo aptitude -y install libcourriel-perl
How To Uninstall libcourriel-perl on Debian 11
To uninstall only the libcourriel-perl
package we can use the following command:
sudo apt-get remove libcourriel-perl
Uninstall libcourriel-perl And Its Dependencies
To uninstall libcourriel-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libcourriel-perl
Remove libcourriel-perl Configurations and Data
To remove libcourriel-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libcourriel-perl
Remove libcourriel-perl configuration, data, and all of its dependencies
We can use the following command to remove libcourriel-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcourriel-perl
Dependencies
libcourriel-perl have the following dependencies:
- perl
- libdatetime-format-mail-perl
- libdatetime-format-natural-perl
- libdatetime-perl
- libdevel-partialdump-perl
- libemail-abstract-perl
- libemail-address-xs-perl
- libemail-messageid-perl
- libemail-mime-encodings-perl
- libfile-libmagic-perl
- libfile-slurper-perl
- liblist-allutils-perl
- liblist-moreutils-perl
- libmoose-perl
- libmoosex-role-parameterized-perl
- libmoosex-strictconstructor-perl
- libmoosex-types-common-perl
- libmoosex-types-perl
- libnamespace-autoclean-perl
- libparams-validationcompiler-perl
- libsub-exporter-perl
References
Summary
In this tutorial we learn how to install libcourriel-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.