No tutorial for version 7.0</p>. Using the latest version


Install Gazebo using Ubuntu packages

This tutorial covers the installation of Gazebo packages using the the repository, designed for those who want to follow the faster development path but still a stable one.

Gazebo is also released as an Ubuntu official package: (check which version is available for every distribution. If you are a ROS user, please read the tutorial about ROS/Gazebo installation.

Default installation: one-liner

  1. Install

    curl -sSL | sh
  2. Run


Alternative installation: step-by-step

  1. Setup your computer to accept software from

    sudo sh -c 'echo "deb `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'

    You can check to see if the file was written correctly. For example, in Ubuntu Bionic (18.04), you can type:

    cat /etc/apt/sources.list.d/gazebo-stable.list

    And if everything is correct, you should see:

    deb bionic main
  2. Setup keys

    wget -O - | sudo apt-key add -
  3. Install Gazebo.

    First update the debian database:

    sudo apt-get update

    Hint: make sure the apt-get update process ends without any errors, the console output ends in Done similar to below:

    $ sudo apt-get update
    Hit bionic/main Translation-en
    Ign bionic/main Translation-en_US
    Ign bionic/multiverse Translation-en_US
    Ign bionic/restricted Translation-en_US
    Ign bionic/universe Translation-en_US
    Reading package lists... Done

    Next install gazebo-11 by:

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