loch: 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/loch - from package: therion-viewer

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