How To Install lbdb on Debian 10

Learn how to install lbdb on Debian 10 with this tutorial. lbdb is Little Brothers DataBase for the mutt mail reader

Introduction

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

What is lbdb

lbdb is:

This package consists of a set of small tools, which collect mail addresses from several sources and offer these addresses to the mutt external query feature. At the moment the following modules are supported:

  • m_finger (uses the finger(1) command)
  • m_inmail (scans incoming mail for addresses)
  • m_passwd (searches /etc/passwd)
  • m_yppasswd (searches the YP password database)
  • m_nispasswd (searches the NIS password database)
  • m_getent (searches the configured password database)
  • m_pgp2, m_pgp5, m_gpg (searches your PGP or GnuPG keyrings)
  • m_fido (searches the Fidonet nodelist)
  • m_abook (uses the address book application abook(1))
  • m_goobook (uses goobook to read Google contacts)
  • m_addr_email (uses addr-email from the addressbook Tk program)
  • m_muttalias (searches your Mutt mail aliases)
  • m_pine (searches your Pine addressbook files)
  • m_wanderlust (search the WanderLust alias database)
  • m_palm (uses your Palm database; needs libpalm-perl package)
  • m_gnomecard (uses GnomeCard database files)
  • m_ldap (query some LDAP server)
  • m_evolution (search in the Evolution addressbook)
  • m_vcf (search in vcard files using libvformat)
  • m_khard (search a CardDAV address book via khard)
  • m_mu (search maidir-utils using mu-cfind)

There are three methods to install lbdb 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 lbdb Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lbdb

Install lbdb Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lbdb

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

sudo aptitude -y install lbdb

How To Uninstall lbdb on Debian 10

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

sudo apt-get remove lbdb

Uninstall lbdb And Its Dependencies

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

sudo apt-get -y autoremove lbdb

Remove lbdb Configurations and Data

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

sudo apt-get -y purge lbdb

Remove lbdb configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lbdb

Dependencies

lbdb have the following dependencies:

References

Summary

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