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

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

On Debian possible default full paths are:

/sbin/getpcaps - from package: libcap2-bin

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