hackrf_spiflash: 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/hackrf_spiflash - from package: hackrf

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