sweep: 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

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

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