How To Install stratagus on Fedora 34

stratagus is Real-time strategy gaming engine

Introduction

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

What is stratagus

Stratagus is a free cross-platform real-time strategy gaming engine. It includes support for playing over the internet/LAN, or playing a computer opponent. The engine is configurable and can be used to create games with a wide-range of features specific to your needs. See the home page (https using the stratagus engine.

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

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

sudo dnf -y install stratagus

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

sudo yum -y install stratagus

How To Uninstall stratagus on Fedora 34

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

sudo dnf remove stratagus

stratagus Package Contents on Fedora 34

/usr/bin/metaserver
/usr/bin/png2stratagus
/usr/bin/stratagus
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/c3dd50b45c3227e06f2bbe81eb3edee48a6646
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/758e1e08d7debb8f1a3e43c9e1a7e361a225f0
/usr/lib/.build-id/df
/usr/lib/.build-id/df/0350d9b2ee53abd310ab81dcf05488f9bb1e3e
/usr/share/doc/stratagus
/usr/share/doc/stratagus/README.md
/usr/share/doc/stratagus/doc
/usr/share/doc/stratagus/doc/Doxyfile-footer.html
/usr/share/doc/stratagus/doc/Doxyfile-header.html
/usr/share/doc/stratagus/doc/Doxyfile.in
/usr/share/doc/stratagus/doc/README-SDL.txt
/usr/share/doc/stratagus/doc/changelog.html
/usr/share/doc/stratagus/doc/development.html
/usr/share/doc/stratagus/doc/faq.html
/usr/share/doc/stratagus/doc/gpl.html
/usr/share/doc/stratagus/doc/graphics
/usr/share/doc/stratagus/doc/graphics/coast_and_ground.png
/usr/share/doc/stratagus/doc/graphics/dark_coast.png
/usr/share/doc/stratagus/doc/graphics/dark_ground.png
/usr/share/doc/stratagus/doc/graphics/defect_human_wall.png
/usr/share/doc/stratagus/doc/graphics/defect_orc_wall.png
/usr/share/doc/stratagus/doc/graphics/destroyed_wall.png
/usr/share/doc/stratagus/doc/graphics/farm.png
/usr/share/doc/stratagus/doc/graphics/fog_of_war.png
/usr/share/doc/stratagus/doc/graphics/forest_and_ground.png
/usr/share/doc/stratagus/doc/graphics/human_wall.png
/usr/share/doc/stratagus/doc/graphics/light_and_dark_coast.png
/usr/share/doc/stratagus/doc/graphics/light_and_dark_ground.png
/usr/share/doc/stratagus/doc/graphics/light_and_dark_water.png
/usr/share/doc/stratagus/doc/graphics/light_coast.png
/usr/share/doc/stratagus/doc/graphics/light_ground.png
/usr/share/doc/stratagus/doc/graphics/orc_wall.png
/usr/share/doc/stratagus/doc/graphics/palette.html
/usr/share/doc/stratagus/doc/graphics/peasant.png
/usr/share/doc/stratagus/doc/graphics/rocks_and_coast.png
/usr/share/doc/stratagus/doc/graphics/stratagus.gimp
/usr/share/doc/stratagus/doc/graphics/summer.png
/usr/share/doc/stratagus/doc/graphics/summer_klein.png
/usr/share/doc/stratagus/doc/graphics/tileset.html
/usr/share/doc/stratagus/doc/graphics/water_and_coast.png
/usr/share/doc/stratagus/doc/guichan-copyright.txt
/usr/share/doc/stratagus/doc/index.html
/usr/share/doc/stratagus/doc/install.html
/usr/share/doc/stratagus/doc/media.html
/usr/share/doc/stratagus/doc/metaserver_protocol.txt
/usr/share/doc/stratagus/doc/scripts
/usr/share/doc/stratagus/doc/scripts/ai.html
/usr/share/doc/stratagus/doc/scripts/config.html
/usr/share/doc/stratagus/doc/scripts/findlua.py
/usr/share/doc/stratagus/doc/scripts/game.html
/usr/share/doc/stratagus/doc/scripts/index.html
/usr/share/doc/stratagus/doc/scripts/magic.html
/usr/share/doc/stratagus/doc/scripts/makeindex.py
/usr/share/doc/stratagus/doc/scripts/mappresentation.html
/usr/share/doc/stratagus/doc/scripts/mapsetup.html
/usr/share/doc/stratagus/doc/scripts/research.html
/usr/share/doc/stratagus/doc/scripts/savegame.html
/usr/share/doc/stratagus/doc/scripts/showindex.py
/usr/share/doc/stratagus/doc/scripts/sound.html
/usr/share/doc/stratagus/doc/scripts/tileset.html
/usr/share/doc/stratagus/doc/scripts/triggers.html
/usr/share/doc/stratagus/doc/scripts/ui.html
/usr/share/doc/stratagus/doc/scripts/unittype.html
/usr/share/doc/stratagus/doc/stratagus.6
/usr/share/licenses/stratagus
/usr/share/licenses/stratagus/COPYING

References

Summary

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