heimdal-krb5-config: 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/heimdal-krb5-config - from package: heimdal-devel

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