rpmdev-sum: 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/rpmdev-sum - from package: rpmdevtools

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