Gazebo | Ignition | Community
Ask Your Question

Confusion Regarding Gazebo 4 and ROS Installation

asked 2014-10-21 12:11:47 -0500

K. Zeng gravatar image

updated 2014-10-21 12:14:20 -0500

I have been trying to install Gazebo 4 along with ROS Indigo in the following method:

    1. Install ros-indigo-desktop-full
    2. Run sudo apt-get remove gazebo-* (I realized that it also removes ROS)
    3. Following along the source installation instructions for Gazebo 4 on this page (, which resulted in a problem related to this question (

Is there something I'm doing wrong? An answer I got from a different question here ( yielded a different way to install Gazebo 4 along side ROS Indigo. Am I supposed to just do a desktop install and not a full install? Or would the Gazebo 4 packages automatically override the Gazebo 2 ones that came with Indigo?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-22 12:58:12 -0500

scpeters gravatar image

I recommend this tutorial, which describes how to use different combinations of ROS and Gazebo versions. Short answer: install ros-indigo-gazebo4-ros-pkgs to use gazebo4 with ROS.

edit flag offensive delete link more


Thank you, I'll try to follow along with it. Should I install the full desktop version of ROS (that includes Gazebo 2), then? Or should I go for the plain desktop version (with rqt, rviz, and robot-generic libraries and no Gazebo)?

K. Zeng gravatar imageK. Zeng ( 2014-10-22 14:23:56 -0500 )edit

Also, should I install ROS first or Gazebo first. I noticed that when I installed ros-indigo-gazebo4-ros-pkgs, ros-indigo-desktop-full was automatically removed.

K. Zeng gravatar imageK. Zeng ( 2014-10-22 15:10:04 -0500 )edit

You can install ros-indigo-desktop-full first and then ros-indigo-gazebo4-ros-pkgs and it will leave any packages that aren't in conflict

scpeters gravatar imagescpeters ( 2014-10-22 15:15:12 -0500 )edit

It works now! Thank you very much.

K. Zeng gravatar imageK. Zeng ( 2014-10-22 16:04:21 -0500 )edit

Question Tools


Asked: 2014-10-21 12:11:47 -0500

Seen: 389 times

Last updated: Oct 22 '14