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

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