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

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