code.o: 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/lib/x86_64-linux-gnu/gap/bin/code.o - from package: gap-dev

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