dcmftest: 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/dcmftest - from package: dcmtk

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