Gazebo | Ignition | Community
Ask Your Question

Cant install libgazebo8-dev header

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

this post is marked as community wiki

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


I was following the gazebo tutorials ( 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?


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

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

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 `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget -O - | sudo apt-key add -
sudo apt-get update
edit flag offensive delete link more

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

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


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


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

Seen: 1,752 times

Last updated: Jun 07 '18