xindy command not found

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

Introduction

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

xindy: command not found

or when using sudo you get the following error message

sudo: xindy: command not found

Solutions to xindy: command not found

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

In Ubuntu xindy is provided by xindy package.

xindy is:

xindy is an index processor that can be used to generate book-like indexes for arbitrary document-preparation systems. This includes systems such as TeX and LaTeX, the roff-family, SGML/XML-based systems (e.g. HTML) that process some kind of text and generate indexing information. The kernel system is not fixed to any specific system, but can be configured to work together with such systems.

In comparison to other index processors xindy has several powerful features that make it an ideal framework for describing and generating complex indices, addressing especially international indexing.

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

sudo apt-get -y install xindy

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

You can also use apt command to install xindy.

sudo apt -y install xindy

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

sudo aptitude install xindy

Summary

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