dh_rebar: 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_rebar - from package: dh-rebar

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