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

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