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

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/pamdice - from package: netpbm

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