gdal_dem2rgb: 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/gdal_dem2rgb - from package: dans-gdal-scripts

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