fgexample: 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/fgexample - from package: pvm-examples

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