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

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