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

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