makebdb command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
makebdb: command not found
or when using sudo you get the following error message
sudo: makebdb: command not found
Solutions to makebdb: command not found
How To Fix makebdb: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu makebdb is provided by perdition package.
perdition is:
Perdition allows users to connect to a content-free POP3 or IMAP4 server that will redirect them to their real POP3 or IMAP4 server. This enables mail retrieval for a domain to be split across multiple backend servers on a per user basis. This can also be used to as a POP3 or IMAP4 proxy especially in firewall applications. Perdition supports arbitrary library based map access to determine the server for a user. POSIX Regular Expression, GDBM, Berkeley DB, MySQL, PostgreSQL, ODBC and LDAP libraries ship with the distribution.
To fix this problem, we can install more using the command below.
sudo apt-get -y install perdition
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install perdition.
sudo apt -y install perdition
Or if you have aptitude installed you can use the following command.
sudo aptitude install perdition
Summary
In this tutorial we learn how to fix makebdb command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.