ispellaff2myspell command not found

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

Introduction

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

ispellaff2myspell: command not found

or when using sudo you get the following error message

sudo: ispellaff2myspell: command not found

Solutions to ispellaff2myspell: command not found

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

In Ubuntu ispellaff2myspell is provided by hunspell-tools package.

hunspell-tools is:

Hunspell is a spell checker and morphological analyzer library and program designed for languages with rich morphology and complex word compounding or character encoding. It is based on MySpell and features an Ispell-like terminal interface using Curses library, an Ispell pipe interface and an OpenOffice.org UNO module.

Main features:

  • Unicode support (first 65535 Unicode characters)
  • morphological analysis (in custom item and arrangement style)
  • Max. 65535 affix classes and twofold affix stripping (for agglutinative languages, like Azeri, Basque, Estonian, Finnish, Hungarian, Turkish, etc.)
  • Support complex compoundings (for example, Hungarian and German)
  • Support language specific algorithms (for example, handling Azeri and Turkish dotted i, or German sharp s)
  • Handling conditional affixes, circumfixes, fogemorphemes, forbidden words, pseudoroots and homonyms.

This package contains a the munch/unmunch tools of hunspell and ispellaff2myspell for converting ispell affix files for myspell/hunspell format.

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

sudo apt-get -y install hunspell-tools

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

You can also use apt command to install hunspell-tools.

sudo apt -y install hunspell-tools

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

sudo aptitude install hunspell-tools

Summary

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