dh_installdocs: 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_installdocs - from package: debhelper

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