pamslice: 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

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

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