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

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