captest: 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/captest - from package: libcap-ng-utils

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

On Debian possible default full paths are:

/usr/bin/captest - from package: libcap-ng-utils

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