Robotics StackExchange | Archived questions

How do I install gazebo-9.16.0.tar.bz2 inside a docker container?

Sorry for the noob question. How do I install this specific version of gazebo 9 inside a docker container which is running ROS melodic. When I unzip the tarball i can't run ./configure as other tutorials say. How do I install it?

Asked by man-do on 2021-05-14 16:29:45 UTC

Comments

Answers

I would recommend to install binary packages if you don't think on modifying or developing with Gazebo source code. If you have a reason to go with from source installation the link should help you.

Asked by Jose Luis Rivero on 2021-05-20 11:47:18 UTC

Comments

I think I've done what you are trying to do here.

RUN sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' \
     && wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - \
     && sudo apt-get update -qq \
     && sudo apt-get install gazebo9 libgazebo9-dev -y

Asked by jdekarske on 2021-06-08 01:19:07 UTC

Comments