How To Install OpenSceneGraph on Fedora 34

OpenSceneGraph is High performance real-time graphics toolkit

Introduction

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

What is OpenSceneGraph

The OpenSceneGraph is an OpenSource, cross platform graphics toolkit for the development of high performance graphics applications such as flight simulators, games, virtual reality and scientific visualization. Based around the concept of a SceneGraph, it provides an object oriented framework on top of OpenGL freeing the developer from implementing and optimizing low level graphics calls, and provides many additional utilities for rapid development of graphics applications.

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

Install OpenSceneGraph 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 OpenSceneGraph using dnf by running the following command:

sudo dnf -y install OpenSceneGraph

Install OpenSceneGraph 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 OpenSceneGraph using yum by running the following command:

sudo yum -y install OpenSceneGraph

How To Uninstall OpenSceneGraph on Fedora 34

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

sudo dnf remove OpenSceneGraph

OpenSceneGraph Package Contents on Fedora 34

/usr/bin/osgarchive
/usr/bin/osgconv
/usr/bin/osgfilecache
/usr/bin/osgversion
/usr/bin/osgviewer
/usr/bin/present3D
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/9870fb73ee81925aa551eaf43038aaf64b6c7c
/usr/lib/.build-id/05
/usr/lib/.build-id/05/bc8eb25bc67fdcac100abcb1a7bc9dfe11ee50
/usr/lib/.build-id/09
/usr/lib/.build-id/09/e2821cfc2ea1ff6ba9d0b4cfab6eede4d801dd
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/a7dcab7649755c3313ffbf0a113cb0f9b74b02
/usr/lib/.build-id/8c/c6efd686da12fd6b4ddb0f7a86d84c7cdfdbf5
/usr/lib/.build-id/98
/usr/lib/.build-id/98/0c5562db9d0709e17ab66ccdaa67dac5d86092
/usr/share/doc/OpenSceneGraph
/usr/share/doc/OpenSceneGraph/AUTHORS.txt
/usr/share/doc/OpenSceneGraph/NEWS.txt
/usr/share/doc/OpenSceneGraph/README.txt
/usr/share/licenses/OpenSceneGraph
/usr/share/licenses/OpenSceneGraph/LICENSE.txt
/usr/bin/osgarchive
/usr/bin/osgconv
/usr/bin/osgfilecache
/usr/bin/osgversion
/usr/bin/osgviewer
/usr/bin/present3D
/usr/lib/.build-id
/usr/lib/.build-id/85
/usr/lib/.build-id/85/ea5b8806b78afd2b16058f7008e0d8e65ad566
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/9da50ef2984edbe3901b85745938b4456d8f52
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/7ee835001abb69f0c52aea350977540e03d7a8
/usr/lib/.build-id/db
/usr/lib/.build-id/db/25f37c12d319719cf1c949ec781a8b3083909f
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/4697b82c3b3d38852755648fa1680aede5c8ea
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/98a0263b31b5a226ca233b41b2f6395131d8cb
/usr/share/doc/OpenSceneGraph
/usr/share/doc/OpenSceneGraph/AUTHORS.txt
/usr/share/doc/OpenSceneGraph/NEWS.txt
/usr/share/doc/OpenSceneGraph/README.txt
/usr/share/licenses/OpenSceneGraph
/usr/share/licenses/OpenSceneGraph/LICENSE.txt

References

Summary

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