fastaq_extend_gaps: 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/fastaq_extend_gaps - from package: fastaq

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