Install Gazebo using Ubuntu packages

One-line install

  1. Install

    wget -O /tmp/gazebo5_install.sh http://osrf-distributions.s3.amazonaws.com/gazebo/gazebo5_install.sh; sudo sh /tmp/gazebo5_install.sh
  2. Run


Step-by-step Install

  1. Setup your computer to accept software from packages.osrfoundation.org.

    sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-latest.list'
  2. Setup keys

    wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
  3. Install Gazebo.

    sudo apt-get update
    sudo apt-get install gazebo5
    # For developers that work on top of Gazebo, one extra package
    sudo apt-get install libgazebo5-dev
  4. Check your installation

    Note The first time gazebo is executed requires the download of some models and it could take some time, please be patient.


Gazebo in different deb packages

Gazebo ships different Ubuntu debian packages following the official packaging guidelines. This changes brings an option about how to install gazebo:

  • Use Gazebo as an application: for the users that just run Gazebo simulator with the provided plugins and models and do not plan on developing on top of gazebo its own custom software. To use Gazebo 5.0, please install the package called gazebo5.
  • Use Gazebo to develop software using Gazebo libraries: for users that develop plugins or any other kind of software that needs Gazebo headers and libraries. In this case, together with gazebo5 package, please install libgazebo5-dev.

Gazebo multi physics engines support

Gazebo is able to use different physics engines to perform the simulation.

ODE is the one used by default, but support is in also in place for Bullet and Simbody using Ubuntu packages. For those users that wan to try DART, a from source installation of gazebo is needed, so please do not use the .deb packages.

Gazebo 5 in ROS

Please follow the Connect to ROS tutorials for using Gazebo with ROS.