htmerge command not found

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

Introduction

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

htmerge: command not found

or when using sudo you get the following error message

sudo: htmerge: command not found

Solutions to htmerge: command not found

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

In Ubuntu htmerge 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 htmerge command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.