How To Install libvmime1-doc on Ubuntu 18.04

In this tutorial we learn how to install libvmime1-doc on Ubuntu 18.04. libvmime1-doc is C++ mail library (API documentation)

Introduction

In this tutorial we learn how to install libvmime1-doc on Ubuntu 18.04.

What is libvmime1-doc

libvmime1-doc 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.

This package contains the Doxygen generated library API HTML documentation for libvmime. They can be accessed by open /usr/share/doc/libvmime1-doc/html/index.html.

There are three methods to install libvmime1-doc on Ubuntu 18.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 libvmime1-doc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libvmime1-doc

Install libvmime1-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvmime1-doc

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

sudo aptitude -y install libvmime1-doc

How To Uninstall libvmime1-doc on Ubuntu 18.04

To uninstall only the libvmime1-doc package we can use the following command:

sudo apt-get remove libvmime1-doc

Uninstall libvmime1-doc And Its Dependencies

To uninstall libvmime1-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libvmime1-doc

Remove libvmime1-doc Configurations and Data

To remove libvmime1-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libvmime1-doc

Remove libvmime1-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libvmime1-doc

References

Summary

In this tutorial we learn how to install libvmime1-doc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.