PToptimizer: 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/PToptimizer - from package: libpano13-bin

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