msgconvert command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
msgconvert: command not found
or when using sudo you get the following error message
sudo: msgconvert: command not found
Solutions to msgconvert: command not found
How To Fix msgconvert: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu msgconvert is provided by libemail-outlook-message-perl package.
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. Using this tool requires the recommended package libemail-address-perl to be installed.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libemail-outlook-message-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libemail-outlook-message-perl.
sudo apt -y install libemail-outlook-message-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libemail-outlook-message-perl
Summary
In this tutorial we learn how to fix msgconvert command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.