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

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