fvwm: 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 CentOS possible default full paths are:

/usr/bin/fvwm - from package: fvwm

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