avr-gdb: 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 CentOS possible default full paths are:

/usr/bin/avr-gdb - from package: avr-gdb

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/avr-gdb - from package: gdb-avr

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