h5ls: 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/lib64/mpich/bin/h5ls - from package: hdf5-mpich
/usr/lib/mpich/bin/h5ls - from package: hdf5-mpich
/usr/lib64/openmpi/bin/h5ls - from package: hdf5-openmpi
/usr/lib/openmpi/bin/h5ls - from package: hdf5-openmpi
/usr/bin/h5ls - from package: hdf5

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/h5ls - from package: hdf5-tools

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