lomath: 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/lomath - from package: libreoffice-math

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