spottopgm: 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 CentOS possible default full paths are:

/usr/bin/spottopgm - from package: netpbm-progs

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