dcmp2pgm: 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 Debian possible default full paths are:

/usr/bin/dcmp2pgm - from package: dcmtk

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