How To Install libvmime0 on Debian 9

In this tutorial we learn how to install libvmime0 on Debian 9. libvmime0 is C++ mail library (runtime library)

Introduction

In this tutorial we learn how to install libvmime0 on Debian 9.

What is libvmime0

libvmime0 is:

VMime is a powerful C++ class library for parsing, generating, or editing Internet RFC-[2]822 and MIME messages. VMime is designed to provide a fast and an easy way to manipulate Internet mail messages.

The recent releases of VMime also include support for using messaging protocols (POP3, IMAP, SMTP and maildir) with a lot of features supported: listing folders, downloading and adding messages to folders, extracting parts from message, getting and setting message flags, and a lot more.

There are three methods to install libvmime0 on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libvmime0 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libvmime0 using apt-get by running the following command:

sudo apt-get -y install libvmime0

Install libvmime0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libvmime0 using apt by running the following command:

sudo apt -y install libvmime0

Install libvmime0 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 libvmime0 using aptitude by running the following command:

sudo aptitude -y install libvmime0

How To Uninstall libvmime0 on Debian 9

To uninstall only the libvmime0 package we can use the following command:

sudo apt-get remove libvmime0

Uninstall libvmime0 And Its Dependencies

To uninstall libvmime0 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libvmime0

Remove libvmime0 Configurations and Data

To remove libvmime0 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libvmime0

Remove libvmime0 configuration, data, and all of its dependencies

We can use the following command to remove libvmime0 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libvmime0

Dependencies

libvmime0 have the following dependencies:

References

Summary

In this tutorial we learn how to install libvmime0 package on Debian 9 using different package management tools: apt, apt-get and aptitude.