flashrom: 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 CentOS possible default full paths are:

/usr/sbin/flashrom - from package: flashrom

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/flashrom - from package: flashrom

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