ptex2tex: 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/ptex2tex - from package: ptex2tex

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