thesaurus2htmls: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/thesaurus2htmls - from package: libbiblio-thesaurus-perl

You may install the required package with command apt-get install {package}
Error in other languages:
thesaurus2htmls: bevel nie gevind nie
thesaurus2htmls: comandă negăsită
thesaurus2htmls: comando não encontrado
thesaurus2htmls: commande introuvable
thesaurus2htmls: command not found
thesaurus2htmls: käsku ei ole
thesaurus2htmls: không tìm thấy lệnh
thesaurus2htmls: komanda nerasta
thesaurus2htmls: Kommando nicht gefunden.
thesaurus2htmls: kommandot finns inte
thesaurus2htmls: komut yok
thesaurus2htmls: nie znaleziono polecenia
thesaurus2htmls: níor aimsíodh an t-ordú
thesaurus2htmls: no se encontró la orden
thesaurus2htmls: no s'ha trobat l'ordre
thesaurus2htmls: opdracht niet gevonden
thesaurus2htmls: parancs nem található
thesaurus2htmls: perintah tidak ditemukan
thesaurus2htmls: príkaz nenájdený
thesaurus2htmls: příkaz nenalezen
thesaurus2htmls: команда не найдена
thesaurus2htmls: командата не е открита
thesaurus2htmls: 命令找不到
thesaurus2htmls: コマンドが見つかりません