lorem: 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/lorem - from package: libtext-lorem-perl

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