Mac OS X

http://gazebosim.org/tutorials?tut=install_on_mac&cat=install

$ brew tap osrf/simulation
$ brew install gazebo7       # ~?h build

Ubuntu

http://gazebosim.org/tutorials?tut=install_ubuntu&cat=install

$ aptitude install gazebo7 libgazebo7-dev