pt-query-digest: 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 Debian possible default full paths are:

/usr/bin/pt-query-digest - from package: percona-toolkit

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