lbdbq command not found

In this troubleshooting guide we learn how to fix lbdbq command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

lbdbq: command not found

or when using sudo you get the following error message

sudo: lbdbq: command not found

Solutions to lbdbq: command not found

How To Fix lbdbq: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lbdbq is provided by lbdb package.

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)

To fix this problem, we can install more using the command below.

sudo apt-get -y install lbdb

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install lbdb.

sudo apt -y install lbdb

Or if you have aptitude installed you can use the following command.

sudo aptitude install lbdb

Summary

In this tutorial we learn how to fix lbdbq command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.