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

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