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

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