How To Install libemail-outlook-message-perl on Ubuntu 20.04

In this tutorial we learn how to install libemail-outlook-message-perl on Ubuntu 20.04. libemail-outlook-message-perl is module for reading Outlook .msg files

Introduction

In this tutorial we learn how to install libemail-outlook-message-perl on Ubuntu 20.04.

What is libemail-outlook-message-perl

libemail-outlook-message-perl is:

Email::Outlook::Message reads e-mail messages stored as .msg files (such as generated by Microsoft Outlook), and converts them to Email::MIME objects.

Not all data in the .msg file is converted. The meaning of some parts hasn’t been worked out, while other parts do not make sense outside of Outlook and Exchange.

Currently GPG signed mail is not processed correctly and neither are attachments of type ‘appledoublefile’.

The package also contains the tool “msgconvert” (known from http://www.matijs.net/software/msgconv/) to convert Microsoft Outlook “.msg” files directly on the commandline without having to know how to program in Perl.

There are three methods to install libemail-outlook-message-perl 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 libemail-outlook-message-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 libemail-outlook-message-perl using apt-get by running the following command:

sudo apt-get -y install libemail-outlook-message-perl

Install libemail-outlook-message-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libemail-outlook-message-perl using apt by running the following command:

sudo apt -y install libemail-outlook-message-perl

Install libemail-outlook-message-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 libemail-outlook-message-perl using aptitude by running the following command:

sudo aptitude -y install libemail-outlook-message-perl

How To Uninstall libemail-outlook-message-perl on Ubuntu 20.04

To uninstall only the libemail-outlook-message-perl package we can use the following command:

sudo apt-get remove libemail-outlook-message-perl

Uninstall libemail-outlook-message-perl And Its Dependencies

To uninstall libemail-outlook-message-perl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libemail-outlook-message-perl

Remove libemail-outlook-message-perl Configurations and Data

To remove libemail-outlook-message-perl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libemail-outlook-message-perl

Remove libemail-outlook-message-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libemail-outlook-message-perl

References

Summary

In this tutorial we learn how to install libemail-outlook-message-perl package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.