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

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