dhid: 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 Debian possible default full paths are:

/usr/sbin/dhid - from package: dhis-client

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