perf: 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/perf - from package: perf

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

On Debian possible default full paths are:

/usr/bin/perf - from package: linux-base

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