htdb_dump command not found

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

Introduction

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

htdb_dump: command not found

or when using sudo you get the following error message

sudo: htdb_dump: command not found

Solutions to htdb_dump: command not found

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

In Ubuntu htdb_dump is provided by htdig package.

htdig is:

The ht://Dig system is a complete web search engine for a small domain or intranet. It is not meant to replace the major Internet-wide search engines; instead it is meant to cover the search needs of a single company, campus, or even a particular subsection of a website.

Features:

  • intranet searching, spanning multiple local web servers;
  • robot exclusion;
  • boolean expression searches;
  • configurable search results;
  • fuzzy searching (various algorithms supported);
  • indexing of HTML and text files;
  • keyword tagging of HTML documents;
  • email notification of expired documents;
  • indexing of protected servers;
  • searches on subsections of the database;
  • limitation of search depth;
  • ISO-Latin-1 character set support.

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

sudo apt-get -y install htdig

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

You can also use apt command to install htdig.

sudo apt -y install htdig

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

sudo aptitude install htdig

Summary

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