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

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