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

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