dictfmt_index2word command not found

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

Introduction

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

dictfmt_index2word: command not found

or when using sudo you get the following error message

sudo: dictfmt_index2word: command not found

Solutions to dictfmt_index2word: command not found

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

In Ubuntu dictfmt_index2word is provided by dictfmt package.

dictfmt is:

This package provides dictfmt. This utility can convert an input file to a dictionary database that conforms to the DICT protocol, and create a corresponding index file.

The package also provides dictunformat, which creates a raw database from a dictionary index and a dictionary database.

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

sudo apt-get -y install dictfmt

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

You can also use apt command to install dictfmt.

sudo apt -y install dictfmt

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

sudo aptitude install dictfmt

Summary

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