thesaurus2any command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
thesaurus2any: command not found
or when using sudo you get the following error message
sudo: thesaurus2any: command not found
Solutions to thesaurus2any: command not found
How To Fix thesaurus2any: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu thesaurus2any is provided by libbiblio-thesaurus-perl package.
libbiblio-thesaurus-perl is:
A Thesaurus is a classification structure. It can be seen as a graph where nodes are terms and the vertices are relations between terms.
Biblio::Thesaurus provides transparent methods to maintain Thesaurus files. The module uses a subset from ISO 2788 which defines some standard features to be found on thesaurus files. This ISO includes a set of relations that can be seen as standard but, this program can use user defined ones. So, it can be used on ISO or not ISO thesaurus files.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libbiblio-thesaurus-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libbiblio-thesaurus-perl.
sudo apt -y install libbiblio-thesaurus-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libbiblio-thesaurus-perl
Summary
In this tutorial we learn how to fix thesaurus2any command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.