gattrib: 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/gattrib - from package: geda-gattrib

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