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

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