tpm_setpresence: 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_setpresence - 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_setpresence - from package: tpm-tools

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