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

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

On Debian possible default full paths are:

/usr/bin/cppcheck - from package: cppcheck

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