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

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