How To Install libcrypt-smime-perl on Debian 11
Introduction
In this tutorial we learn how to install libcrypt-smime-perl
on Debian 11.
What is libcrypt-smime-perl
libcrypt-smime-perl is:
Crypt::SMIME provides a class for handling S/MIME messages. It can sign, verify, encrypt and decrypt messages.
Crypt::SMIME operates on email messages as simple strings, so there’s no particular integration with other MAIL::* or MIME::* modules. Rather, it can co-operate with any module capable of accepting / outputting the entire message as a single string.
There are three methods to install libcrypt-smime-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 libcrypt-smime-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 libcrypt-smime-perl
using apt-get
by running the following command:
sudo apt-get -y install libcrypt-smime-perl
Install libcrypt-smime-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcrypt-smime-perl
using apt
by running the following command:
sudo apt -y install libcrypt-smime-perl
Install libcrypt-smime-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 libcrypt-smime-perl
using aptitude
by running the following command:
sudo aptitude -y install libcrypt-smime-perl
How To Uninstall libcrypt-smime-perl on Debian 11
To uninstall only the libcrypt-smime-perl
package we can use the following command:
sudo apt-get remove libcrypt-smime-perl
Uninstall libcrypt-smime-perl And Its Dependencies
To uninstall libcrypt-smime-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libcrypt-smime-perl
Remove libcrypt-smime-perl Configurations and Data
To remove libcrypt-smime-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libcrypt-smime-perl
Remove libcrypt-smime-perl configuration, data, and all of its dependencies
We can use the following command to remove libcrypt-smime-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcrypt-smime-perl
Dependencies
libcrypt-smime-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libcrypt-smime-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.