Open mkhansenbot opened 3 years ago
I think that script should accept an argument to choose what version to install, independently of the Ubuntu distro, because we support both Gazebo 9 and 11 on Bionic and Focal.
I would like to maintain the script minimalist and the original goal was to provide easy install instructions to get the latest available version per platform.There are instructions about how to install older versions I don't think they are the main use case.
Moving issue: https://github.com/osrf/gazebo/issues/2994
I tried upgrading Gazebo9 on Ubuntu 18.04 using the recommended 1-liner method:
curl -sSL http://get.gazebosim.org | sh
It tries to install Gazebo11 instead of Gazebo9, and fails.
I looked at the script and I see it sets GZ_VER=11 to start then later checks the Ubuntu version to change it to Gazebo 9, but it doesn't match 'bionic', just 'artful' and 'eoan' versions. Seems like a bug.
I was able to install manually after it failed to install Gazebo11, but please confirm if this is a bug, it seems like a simple fix