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

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