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

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