How To Install megaglest on Fedora 34

megaglest is Open Source 3d real time strategy game

Introduction

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

What is megaglest

MegaGlest is an entertaining free (freeware and free software) and open source cross-platform 3D real-time strategy (RTS) game, where you control the armies of one of seven different factions Magic, Egypt, Indians, Norsemen, Persian or Romans. The game is setup in one of 17 naturally looking settings, which -like the unit models- are crafted with great appreciation for detail. A lot of additional game data can be downloaded from within the game at no cost.

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

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

sudo dnf -y install megaglest

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

sudo yum -y install megaglest

How To Uninstall megaglest on Fedora 34

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

sudo dnf remove megaglest

megaglest Package Contents on Fedora 34

/usr/bin/megaglest
/usr/bin/megaglest_editor
/usr/bin/megaglest_g3dviewer
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/23d3b5046acbfc97c20915970264ab328d3738
/usr/lib/.build-id/63
/usr/lib/.build-id/63/e965ea5cdee04a7368770b2789684583a0b2b6
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/73d4694560617e1efb4394f2355b054bf4dbf9
/usr/share/doc/megaglest
/usr/share/doc/megaglest/AUTHORS.source_code.txt
/usr/share/doc/megaglest/CHANGELOG.txt
/usr/share/doc/megaglest/COPYRIGHT.source_code.txt
/usr/share/doc/megaglest/README.txt
/usr/share/doc/megaglest/gnu_gpl_3.0.txt
/usr/share/man/man6/megaglest.6.gz
/usr/share/man/man6/megaglest_editor.6.gz
/usr/share/man/man6/megaglest_g3dviewer.6.gz
/usr/share/megaglest
/usr/share/megaglest/editor.ico
/usr/share/megaglest/g3dviewer.ico
/usr/share/megaglest/glest.ini
/usr/share/megaglest/glestkeys.ini
/usr/share/megaglest/megaglest.ico
/usr/share/megaglest/servers.ini
/usr/share/megaglest/start_megaglest_gameserver

References

Summary

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