hypertoc: 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/hypertoc - from package: libhtml-gentoc-perl

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