avr-gcc-nm: 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/avr-gcc-nm - from package: gcc-avr

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