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

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