Install gloptipoly3 http://homepages.laas.fr/henrion/software/gloptipoly/ and sedumi http://sedumi.ie.lehigh.edu/?page_id=58
Execute example.m
The BBS toolbox is already compiled for linux systems. For other OS: run compile.m in the folder BBS.