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

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