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

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