pamedge: 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/pamedge - from package: netpbm-progs

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