Skip to content

Installing Gazebo7 with ROS Indigo

Mayank Mittal edited this page Mar 8, 2017 · 1 revision

Following are the steps to install Gazebo 7 with ROS Indigo in Ubuntu 14.04LTS:

  • Gazebo 2.0 comes pre- installed with ROS Indigo, so we first need to remove all existing files:

sudo apt-get purge gazebo*

  • Add repository to your source list:

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

wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -

  • Update the binaries:

sudo apt-get update

  • Install Gazebo7 with its ROS packages using:

sudo apt-get install ros-$ROS_DISTRO-gazebo7-ros-pkgs

  • After above installation is complete, run the setup.sh script two times (first normally and then with sudo). After that execute the build.sh script.