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

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

On Debian possible default full paths are:

/usr/bin/cxxmetric - from package: kdesdk-scripts

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