latex-encode: 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/latex-encode - from package: liblatex-encode-perl

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