ariths.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/ariths.o - from package: gap-dev

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