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

/usr/bin/dcm_to_text - from package: ctn

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