How To Install mu4e on Debian 10

Learn how to install mu4e on Debian 10 with this tutorial. mu4e is e-mail client for Emacs based on mu (maildir-utils)

Introduction

In this tutorial we learn how to install mu4e on Debian 10.

What is mu4e

mu4e is:

mu4e (mu-for-emacs) is an e-mail client for GNU-Emacs version 23 and later, built on top of the mu e-mail search engine. mu4e is optimized for fast handling of large amounts of e-mail.

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

Install mu4e Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mu4e

Install mu4e Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mu4e

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

sudo aptitude -y install mu4e

How To Uninstall mu4e on Debian 10

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

sudo apt-get remove mu4e

Uninstall mu4e And Its Dependencies

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

sudo apt-get -y autoremove mu4e

Remove mu4e Configurations and Data

To remove mu4e configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge mu4e

Remove mu4e configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mu4e

Dependencies

mu4e have the following dependencies:

References

Summary

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