https://code.google.com/p/box2d/

$ sudo apt-get install cmake libglu1-mesa-dev libxi-dev
$ cd $BOX2DPATH/Build
$ cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON ..
$ make
$ sudo make install // 安装到 /usr/local/include/Box2D
$ ./$BOX2DPATH/Build/Testbed/Testbed