VfrCompile: 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

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/VfrCompile - from package: edk2-tools

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