Home | Tutorials | Wiki | Issues
Ask Your Question

command line input: gz help ---- gz: command not found

asked 2014-09-17 15:10:12 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

gazebo is installed and the tutorials run as well as just typing in "gazebo" in the command line the simulator starts. When I type in "gz help" the command line response is "gz: command not found" what is the reason for that ? Do I have to install another package?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-17 19:21:31 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

The gz tool was introduced in gazebo 3.0.0 (see Changelog and pull request 972). What version of gazebo are you using (gazebo --verbose or dpkg -l | grep gazebo)?

For gazebo 2 and earlier, there were separate commands like gzsdf and gztopic that were collected into the gz command in gazebo 3.

edit flag offensive delete link more


I am using the gazebo 2.2.3 version. So i assume to run the gz tool I have to install a newer version.

Christian gravatar imageChristian ( 2014-09-18 12:41:25 -0500 )edit

I am using ros indigo, I have to use gazebo 2 for convenience. how can I get around gz tool missing? The tutorial version is 7+. I am new here

shawnysh gravatar imageshawnysh ( 2017-05-05 07:42:20 -0500 )edit

Gazebo 2 has reached end of life over a year ago and is no longer supported. The recommendation is to use Gazebo 7 with Indigo: http://gazebosim.org/tutorials?tut=ros_wrapper_versions&cat=connect_ros#UsingaspecificGazeboversionwithROS

chapulina gravatar imagechapulina ( 2017-05-05 12:18:01 -0500 )edit

Thank you @chapulina . I had installed Indigo: host gazebo version 2.x package before, so if I want to install gazebo7, should I remove gazebo2 first? Any instructions? I hope there wont be crash.

shawnysh gravatar imageshawnysh ( 2017-05-05 20:53:10 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2014-09-17 15:10:12 -0500

Seen: 1,293 times

Last updated: May 05 '17