opensearch-genquery: 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/opensearch-genquery - from package: surfraw-extra

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