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

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