p7env: 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/p7env - from package: libnss3-tools

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