widget: 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/widget - from package: perl-Tk

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