ispell-autobuildhash command not found

In this troubleshooting guide we learn how to fix ispell-autobuildhash command not found error message

Introduction

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

ispell-autobuildhash: command not found

or when using sudo you get the following error message

sudo: ispell-autobuildhash: command not found

Solutions to ispell-autobuildhash: command not found

How To Fix ispell-autobuildhash: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ispell-autobuildhash is provided by dictionaries-common package.

dictionaries-common is:

This package provides utilities shared between all wordlists and spelling dictionaries for Ispell, Aspell, or MySpell/Hunspell. It also includes support infrastructure for software using them (such as JED and Mutt), and some patched spell-checking Lisp files for better Emacs integration.

More information about the availability of these dictionaries and their naming conventions is available in the README.Debian file.

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

sudo apt-get -y install dictionaries-common

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

You can also use apt command to install dictionaries-common.

sudo apt -y install dictionaries-common

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

sudo aptitude install dictionaries-common

Summary

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