med-config: 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/med-config - from package: med-config

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