How to download Gazebo on Ubuntu Jammy and ROS 2 ?

asked 2022-11-22 17:16:40 -0500

this post is marked as community wiki

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

I currently use Ubuntu Jammy (22.04) and ROS 2 humble. I download on WSL 2 of window. I try to install Gazebo garden (source) to use with ROS2.The command I use is from gazebo install tutorial.

For the missing dependency from below error , I had check the ubuntu jammy , there is no available package appear on ubuntu search. Where could i find the package and how could I add it to ros dependency .

Command:

sudo apt -y install (sort−u(find . -iname ‘packages-‘lsb_release -cs’.apt’ -o -iname ‘packages.apt’ | grep -v ‘/.git/’) | sed ‘/gz|sdf/d’ | tr ‘\n’ ’ ')

The output of the command above :

Reading package lists… Done

Building dependency tree… Done

Reading state information… Done

E: Unable to locate package libogre-next-2.3-dev

E: Couldn’t find any package by glob ‘libogre-next-2.3-dev

edit retag flag offensive close merge delete

Comments

azeey gravatar imageazeey ( 2022-12-05 14:13:10 -0500 )edit