How To Install libmime-explode-perl on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libmime-explode-perl
on Ubuntu 22.04.
What is libmime-explode-perl
libmime-explode-perl is:
MIME::Explode is a Perl module for parsing and decoding single or multipart MIME messages, and outputting its decoded components to a given directory. The module is designed to allows users to extract the attached files out of a MIME encoded email messages or mailboxes.
There are three methods to install libmime-explode-perl
on Ubuntu 22.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 libmime-explode-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 libmime-explode-perl
using apt-get
by running the following command:
sudo apt-get -y install libmime-explode-perl
Install libmime-explode-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmime-explode-perl
using apt
by running the following command:
sudo apt -y install libmime-explode-perl
Install libmime-explode-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libmime-explode-perl
using aptitude
by running the following command:
sudo aptitude -y install libmime-explode-perl
How To Uninstall libmime-explode-perl on Ubuntu 22.04
To uninstall only the libmime-explode-perl
package we can use the following command:
sudo apt-get remove libmime-explode-perl
Uninstall libmime-explode-perl And Its Dependencies
To uninstall libmime-explode-perl
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libmime-explode-perl
Remove libmime-explode-perl Configurations and Data
To remove libmime-explode-perl
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libmime-explode-perl
Remove libmime-explode-perl configuration, data, and all of its dependencies
We can use the following command to remove libmime-explode-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmime-explode-perl
References
Summary
In this tutorial we learn how to install libmime-explode-perl
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.