afetch: 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/afetch - from package: biosquid

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