Gazebo | Ignition | Community
Ask Your Question
0

Cant install libgazebo8-dev header

asked 2018-06-06 14:02:07 -0600

this post is marked as community wiki

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

Hello,

I was following the gazebo tutorials (http://gazebosim.org/tutorials?cat=gu...) and needed to install the libgazebo8-dev header files. Everytime I run the command I get an error of "Unable to locate package libgazebo8-dev".

I then looked up the packages list of Ubuntu and on searching for it couldn't find it there too. Google search for the header didn't help me either.

I guess the libgazebo8-dev has been removed from the Ubuntu library.

Can anyone help me with this? Or provide a link to download the library?

Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-06-07 11:17:23 -0600

chapulina gravatar image

This is not an official Ubuntu package, you need to add OSRF's packages first, like this:

sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt-get update
edit flag offensive delete link more
0

answered 2021-12-21 11:49:42 -0600

Khalid gravatar image

That actually depends on which version of gazebo you are using. You can check which version of gazebo you are using with :

>>gazebo --version
Gazebo multi-robot simulator, version 11.9.1

In this case mine is gazebo 11, so you should change it from

sudo apt install libgazebo8-dev

to

sudo apt install libgazebo11-dev

I was having the same problem since I was following the same tutorial but I didnt realize I was using gazebo version 11

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-06-06 14:02:07 -0600

Seen: 1,939 times

Last updated: Jun 07 '18