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

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