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

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