ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Regarding installing gazebo simulator

asked 2012-05-24 22:26:13 -0500

updated 2014-04-20 14:09:31 -0500

ngrennan gravatar image

while installing Gazebo simulator in ROS electric,this statement is given on Gazebo wiki page,ROS Users: Never install gazebo from here. Use these instructions. ,and when we click on the folowing link,it direct us to ROS installation page where no information is being given for the installation of Gazebo simulator,Kindly help me to overcome this situation.........

edit retag flag offensive close merge delete


edited my answer

karthik gravatar image karthik  ( 2012-05-25 04:38:46 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2012-05-24 22:59:48 -0500

karthik gravatar image

updated 2012-05-25 04:38:26 -0500

Hi, If you have installed the ros-electric-desktop-full then gazebo comes along with it. You just have to follow the instructions here and get started.

If you have installed ros by other means and don't get gazebo along with it. Then checkout the stack from as given in the link controlled by svn and compile the package and follow the instructions in the first link of this answer.

Let me know if any issues.

Hope it helps,


As you are not sure about your installation you may face dependencies issues later on. I suggest you to reinstall ROS desktop full version and get the Gazebo. Else you have to download the stack of Gazebo from the subversion using

svn co ~/ros_workspace/gazebo

followed by

cd ~/ros_workspace
rospack profile
rosmake gazebo

If you get any errors mostly would be for the dependencies which you may have to install individually till you get the gazebo package compiled successfully. Hope it helps.


edit flag offensive delete link more


hey kartik, after going through your instruction to instal gazebo,it was being installed but with a warning.

srj0408 gravatar image srj0408  ( 2012-05-25 04:55:24 -0500 )edit

hey kartik,

srj0408 gravatar image srj0408  ( 2012-05-25 04:55:28 -0500 )edit

answered 2012-05-25 03:55:21 -0500

Hello kartik, I am new webbie to both ROS and LINUX.I think i hadnt installed ros-electric-desktop-full,and even i dont know how to find the current version of installed ROS version.But i am very sure that Gazebo dosent come with my installed version because after following the instruction given to launch Gazebo,it dosent work and there come some errors declaring that i hadnt installed Gazebo.

Secondaly after going through the instruction provided in the,its quite tough for me to install gazebo.If you can help me by exlaning it a bit than that will be helpfull for me.

Thanks for the reply.

edit flag offensive delete link more


Hi, If you are explaining your question again, pls edit in your question itself and give us a comment saying the question is updated so as to avoid many answers here which are not actually answers. Please remove this answer and put it in question itself with date of modification. Thanks :)

karthik gravatar image karthik  ( 2012-05-25 04:30:21 -0500 )edit

answered 2012-05-25 04:59:11 -0500

Hey kartik,after going through your instaruction ,gazebo was installed but with certain warning regarding dependencies,

WARNING: Rosdep did not detect the following system dependencies as installed: libqt4-dev, yaml, libqt4-opengl-dev, libtool, tbb, fltk Consider using --rosdep-install option or rosdep install gazebo.

now to install there dependencies i should write a command like sudo apt-get install libqt4-dev.

Am i right?

edit flag offensive delete link more


do rosdep install gazebo.... n please donot post answers here and edit your main question itself as i have done in my answer.

karthik gravatar image karthik  ( 2012-05-25 14:20:15 -0500 )edit

Question Tools


Asked: 2012-05-24 22:26:13 -0500

Seen: 712 times

Last updated: May 25 '12