How To Install notmuch-addrlookup on Debian 12

Learn how to install notmuch-addrlookup on Debian 12 with this tutorial. notmuch-addrlookup is Address lookup tool for Notmuch

Introduction

In this tutorial we learn how to install notmuch-addrlookup on Debian 12.

What is notmuch-addrlookup

notmuch-addrlookup is:

This package uses the Notmuch database to output the names and e-mail addresses of the people you have exchanged e-mails with, most used ones first. This works neatly as address completer for the Notmuch Emacs interface.

The program works by invoking from a shell. The only argument it takes is a string, which is searched for in the e-mail addresses contained in the headers of the messages indexed by Notmuch.

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

Install notmuch-addrlookup Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install notmuch-addrlookup

Install notmuch-addrlookup Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install notmuch-addrlookup

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

sudo aptitude -y install notmuch-addrlookup

How To Uninstall notmuch-addrlookup on Debian 12

To uninstall only the notmuch-addrlookup package we can use the following command:

sudo apt-get remove notmuch-addrlookup

Uninstall notmuch-addrlookup And Its Dependencies

To uninstall notmuch-addrlookup and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove notmuch-addrlookup

Remove notmuch-addrlookup Configurations and Data

To remove notmuch-addrlookup configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge notmuch-addrlookup

Remove notmuch-addrlookup configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge notmuch-addrlookup

Dependencies

notmuch-addrlookup have the following dependencies:

References

Summary

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