hp_map2tga: 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/hp_map2tga - from package: healpix-c++

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