tpm_restrictpubek: 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/sbin/tpm_restrictpubek - from package: tpm-tools

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/tpm_restrictpubek - from package: tpm-tools

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