tax2thesaurus command not found

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

Introduction

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

tax2thesaurus: command not found

or when using sudo you get the following error message

sudo: tax2thesaurus: command not found

Solutions to tax2thesaurus: command not found

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

In Ubuntu tax2thesaurus 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 tax2thesaurus command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.