dh_installexamples: 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/bin/dh_installexamples - from package: debhelper

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