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

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