How To Install gazebo on Fedora 34

gazebo is 3D multi-robot simulator with dynamics 3D multi-robot simulator with dynamics

Introduction

In this tutorial we learn how to install gazebo on Fedora 34.

What is gazebo

Gazebo is a multi-robot simulator for outdoor environments. It is capable of simulating a population of robots, sensors and objects in a three-dimensional world. It generates both realistic sensor feedback and physically plausible interactions between objects. It includes an accurate simulation of rigid-body physics. gazebo 10.1.0 16.fc34 x86_64 3.9 M gazebo-10.1.0-16.fc34.src.rpm fedora 3D multi-robot simulator with dynamics http ASL 2.0 and BSD and LGPLv3+ Gazebo is a multi-robot simulator for outdoor environments. It is capable of simulating a population of robots, sensors and objects in a three-dimensional world. It generates both realistic sensor feedback and physically plausible interactions between objects. It includes an accurate simulation of rigid-body physics.

We can use yum or dnf to install gazebo on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install gazebo.

Install gazebo on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install gazebo using dnf by running the following command:

sudo dnf -y install gazebo

Install gazebo on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install gazebo using yum by running the following command:

sudo yum -y install gazebo

How To Uninstall gazebo on Fedora 34

To uninstall only the gazebo package we can use the following command:

sudo dnf remove gazebo

gazebo Package Contents on Fedora 34

/usr/bin/gazebo
/usr/bin/gazebo-10.1.0
/usr/bin/gz
/usr/bin/gz-10.1.0
/usr/bin/gzclient
/usr/bin/gzclient-10.1.0
/usr/bin/gzprop
/usr/bin/gzserver
/usr/bin/gzserver-10.1.0
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/704d09c8f1b353e2b1ae33fdfa6884d5d54d72
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/6cd4d39dd3fe91f296904c5098f1e7cd6ff618
/usr/lib/.build-id/68
/usr/lib/.build-id/68/316c17d68d3b944d0326bac7ad22eba959b13d
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/a41b76478b0fd74ef27dee20e49b9217d702c7
/usr/share/applications/gazebo.desktop
/usr/share/doc/gazebo
/usr/share/doc/gazebo/AUTHORS
/usr/share/gazebo-10/setup.sh
/usr/share/gazebo/setup.sh
/usr/share/icons/hicolor/scalable/apps/gazebo.svg
/usr/share/licenses/gazebo
/usr/share/licenses/gazebo/COPYING
/usr/share/licenses/gazebo/LICENSE
/usr/share/man/man1/gazebo.1.gz
/usr/share/man/man1/gzclient.1.gz
/usr/share/man/man1/gzprop.1.gz
/usr/share/man/man1/gzserver.1.gz
/usr/bin/gazebo
/usr/bin/gazebo-10.1.0
/usr/bin/gz
/usr/bin/gz-10.1.0
/usr/bin/gzclient
/usr/bin/gzclient-10.1.0
/usr/bin/gzprop
/usr/bin/gzserver
/usr/bin/gzserver-10.1.0
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/fb1d48d5f9be6f8ace193d879281eafea7e475
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/49a6dbb6c60a70556a25223886ba76fbc85caf
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/b883524d75f1bcc038cfcef313e446739761f0
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/7435db331cc11682ba41b9c018132d1a117aa9
/usr/share/applications/gazebo.desktop
/usr/share/doc/gazebo
/usr/share/doc/gazebo/AUTHORS
/usr/share/gazebo-10/setup.sh
/usr/share/gazebo/setup.sh
/usr/share/icons/hicolor/scalable/apps/gazebo.svg
/usr/share/licenses/gazebo
/usr/share/licenses/gazebo/COPYING
/usr/share/licenses/gazebo/LICENSE
/usr/share/man/man1/gazebo.1.gz
/usr/share/man/man1/gzclient.1.gz
/usr/share/man/man1/gzprop.1.gz
/usr/share/man/man1/gzserver.1.gz

References

Summary

In this tutorial we learn how to install gazebo on Fedora 34 using yum and dnf.