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

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