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

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