How To Install 0ad on Fedora 34

0ad is Cross-Platform RTS Game of Ancient Warfare

Introduction

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

What is 0ad

0 A.D. (pronounced “zero ey-dee”) is a free, open-source, cross-platform real-time strategy (RTS) game of ancient warfare. In short, it is a historically-based war/economy game that allows players to relive or rewrite the history of Western civilizations, focusing on the years between 500 B.C. and 500 A.D. The project is highly ambitious, involving state-of-the-art 3D graphics, detailed artwork, sound, and a flexible and powerful custom-built game engine. The game has been in development by Wildfire Games (WFG), a group of volunteer, hobbyist game developers, since 2001.

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

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

sudo dnf -y install 0ad

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

sudo yum -y install 0ad

How To Uninstall 0ad on Fedora 34

To uninstall only the 0ad package we can use the following command:

sudo dnf remove 0ad

0ad Package Contents on Fedora 34

/usr/bin/0ad
/usr/bin/pyrogenesis
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/78225d574bce55a7f1d87276382d51bb30cc27
/usr/lib/.build-id/34
/usr/lib/.build-id/34/08194a15098e15edd774e2ed1c72c57b6658ba
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/95cb6c18d99f64f23b1877319a078cdb0faa15
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/2d50625965226af02dd71711277a50c0a53e79
/usr/lib64/0ad
/usr/lib64/0ad/libAtlasUI.so
/usr/lib64/0ad/libCollada.so
/usr/lib64/0ad/libmozjs78-ps-release.so
/usr/share/0ad
/usr/share/0ad/l10n
/usr/share/0ad/l10n/.tx
/usr/share/0ad/l10n/.tx/config
/usr/share/0ad/l10n/ast.engine.po
/usr/share/0ad/l10n/ca.engine.po
/usr/share/0ad/l10n/de.engine.po
/usr/share/0ad/l10n/el.engine.po
/usr/share/0ad/l10n/en_GB.engine.po
/usr/share/0ad/l10n/engine.pot
/usr/share/0ad/l10n/es.engine.po
/usr/share/0ad/l10n/eu.engine.po
/usr/share/0ad/l10n/fr.engine.po
/usr/share/0ad/l10n/gd.engine.po
/usr/share/0ad/l10n/hu.engine.po
/usr/share/0ad/l10n/id.engine.po
/usr/share/0ad/l10n/it.engine.po
/usr/share/0ad/l10n/messages.json
/usr/share/0ad/l10n/nl.engine.po
/usr/share/0ad/l10n/pl.engine.po
/usr/share/0ad/l10n/pt_BR.engine.po
/usr/share/0ad/l10n/ru.engine.po
/usr/share/0ad/l10n/sk.engine.po
/usr/share/0ad/l10n/sv.engine.po
/usr/share/0ad/l10n/tr.engine.po
/usr/share/0ad/l10n/uk.engine.po
/usr/share/0ad/mods
/usr/share/0ad/mods/_test.dae
/usr/share/0ad/mods/_test.dae/art
/usr/share/0ad/mods/_test.dae/art/actors
/usr/share/0ad/mods/_test.dae/art/actors/jav2.xml
/usr/share/0ad/mods/_test.dae/art/animation
/usr/share/0ad/mods/_test.dae/art/animation/jav2.dae
/usr/share/0ad/mods/_test.dae/art/meshes
/usr/share/0ad/mods/_test.dae/art/meshes/jav2.dae
/usr/share/0ad/mods/_test.gui
/usr/share/0ad/mods/_test.gui/gui
/usr/share/0ad/mods/_test.gui/gui/common
/usr/share/0ad/mods/_test.gui/gui/common/styles.xml
/usr/share/0ad/mods/_test.gui/gui/event
/usr/share/0ad/mods/_test.gui/gui/event/event.js
/usr/share/0ad/mods/_test.gui/gui/event/event.xml
/usr/share/0ad/mods/_test.gui/gui/event/page_event.xml
/usr/share/0ad/mods/_test.gui/gui/gui.rng
/usr/share/0ad/mods/_test.gui/gui/gui_page.rng
/usr/share/0ad/mods/_test.gui/gui/hotkey
/usr/share/0ad/mods/_test.gui/gui/hotkey/hotkey.js
/usr/share/0ad/mods/_test.gui/gui/hotkey/hotkey.xml
/usr/share/0ad/mods/_test.gui/gui/hotkey/page_hotkey.xml
/usr/share/0ad/mods/_test.minimal
/usr/share/0ad/mods/_test.minimal/art
/usr/share/0ad/mods/_test.minimal/art/actors
/usr/share/0ad/mods/_test.minimal/art/meshes
/usr/share/0ad/mods/_test.minimal/art/textures
/usr/share/0ad/mods/_test.minimal/art/textures/particles
/usr/share/0ad/mods/_test.minimal/art/textures/particles/sprite.tga
/usr/share/0ad/mods/_test.minimal/art/textures/skins
/usr/share/0ad/mods/_test.minimal/art/textures/skins/male.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendbad.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendcircle.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendcorner.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendedge.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendedgecorner.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendedgetwocorners.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendfourcorners.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendlshape.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendlshapecorner.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendthreecorners.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendtwocorners.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendtwoedges.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendtwooppositecorners.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/alphamaps/special/blendushape.dds
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/types
/usr/share/0ad/mods/_test.minimal/art/textures/terrain/types/whiteness.dds
/usr/share/0ad/mods/_test.minimal/fonts
/usr/share/0ad/mods/_test.minimal/fonts/console.fnt
/usr/share/0ad/mods/_test.minimal/fonts/console.tga
/usr/share/0ad/mods/_test.minimal/shaders
/usr/share/0ad/mods/_test.minimal/shaders/globallight.vs
/usr/share/0ad/mods/_test.minimal/shaders/instancing.vs
/usr/share/0ad/mods/_test.minimal/shaders/instancing.xml
/usr/share/0ad/mods/_test.minimal/shaders/instancing_base.vs
/usr/share/0ad/mods/_test.minimal/shaders/instancing_light.vs
/usr/share/0ad/mods/_test.minimal/shaders/instancing_light.xml
/usr/share/0ad/mods/_test.minimal/shaders/instancing_lightp.vs
/usr/share/0ad/mods/_test.minimal/shaders/instancing_lightp.xml
/usr/share/0ad/mods/_test.minimal/shaders/instancingp.vs
/usr/share/0ad/mods/_test.minimal/shaders/instancingp.xml
/usr/share/0ad/mods/_test.minimal/shaders/model_light.vs
/usr/share/0ad/mods/_test.minimal/shaders/model_light.xml
/usr/share/0ad/mods/_test.minimal/shaders/model_lightp.vs
/usr/share/0ad/mods/_test.minimal/shaders/model_lightp.xml
/usr/share/0ad/mods/_test.minimal/shaders/postouv1.vs
/usr/share/0ad/mods/_test.minimal/shaders/water_high.fs
/usr/share/0ad/mods/_test.minimal/shaders/water_high.vs
/usr/share/0ad/mods/_test.minimal/shaders/water_high.xml
/usr/share/0ad/mods/_test.sim
/usr/share/0ad/mods/_test.sim/globalscripts
/usr/share/0ad/mods/_test.sim/globalscripts/test-global-helper.js
/usr/share/0ad/mods/_test.sim/simulation
/usr/share/0ad/mods/_test.sim/simulation/components
/usr/share/0ad/mods/_test.sim/simulation/components/addentity
/usr/share/0ad/mods/_test.sim/simulation/components/addentity/test-addentity.js
/usr/share/0ad/mods/_test.sim/simulation/components/error.js
/usr/share/0ad/mods/_test.sim/simulation/components/interfaces
/usr/share/0ad/mods/_test.sim/simulation/components/interfaces/test-interface.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-addentity.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-destroyentity.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-entityid.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-global-helper.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-helper.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-hotload1.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-hotload2.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-interface.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-modding1.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-modding2.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-msg.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-param.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-query.js
/usr/share/0ad/mods/_test.sim/simulation/components/test-serialize.js
/usr/share/0ad/mods/_test.sim/simulation/components/test.js
/usr/share/0ad/mods/_test.sim/simulation/data
/usr/share/0ad/mods/_test.sim/simulation/data/pathfinder.rng
/usr/share/0ad/mods/_test.sim/simulation/data/pathfinder.xml
/usr/share/0ad/mods/_test.sim/simulation/data/territorymanager.rng
/usr/share/0ad/mods/_test.sim/simulation/data/territorymanager.xml
/usr/share/0ad/mods/_test.sim/simulation/helpers
/usr/share/0ad/mods/_test.sim/simulation/helpers/test-helper.js
/usr/share/0ad/mods/_test.sim/simulation/templates
/usr/share/0ad/mods/_test.sim/simulation/templates/basic.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/hotload.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/illformed.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/inherit-broken.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/inherit-loop-2.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/inherit-loop.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/inherit-special.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/inherit1.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/inherit2.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/inherit_a.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/inherit_b.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/inherit_c.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/inherit_d.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/invalid.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/special
/usr/share/0ad/mods/_test.sim/simulation/templates/special/actor.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/special/filter
/usr/share/0ad/mods/_test.sim/simulation/templates/special/filter/foundation.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/template-serialize.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/test1-inherit.xml
/usr/share/0ad/mods/_test.sim/simulation/templates/test1.xml
/usr/share/0ad/mods/_test.tex
/usr/share/0ad/mods/_test.tex/art
/usr/share/0ad/mods/_test.tex/art/textures
/usr/share/0ad/mods/_test.tex/art/textures/a
/usr/share/0ad/mods/_test.tex/art/textures/a/demo-abgr.dds
/usr/share/0ad/mods/_test.tex/art/textures/a/demo-dxt1.dds
/usr/share/0ad/mods/_test.tex/art/textures/a/demo-dxt5.dds
/usr/share/0ad/mods/_test.tex/art/textures/a/demo.png
/usr/share/0ad/mods/_test.tex/art/textures/a/demo.tga
/usr/share/0ad/mods/_test.tex/art/textures/b
/usr/share/0ad/mods/_test.tex/art/textures/b/test.png
/usr/share/0ad/mods/_test.xero
/usr/share/0ad/mods/_test.xero/a
/usr/share/0ad/mods/_test.xero/a/b
/usr/share/0ad/mods/_test.xero/a/b/test1.xml
/usr/share/0ad/mods/_test.xero/test1.xml
/usr/share/0ad/tests
/usr/share/0ad/tests/collada
/usr/share/0ad/tests/collada/bogus_material_target.dae
/usr/share/0ad/tests/collada/skeletons.xml
/usr/share/0ad/tests/collada/sphere.dae
/usr/share/0ad/tests/collada/sphere.pmd
/usr/share/0ad/tests/test_setup.js
/usr/share/applications/0ad.desktop
/usr/share/doc/0ad
/usr/share/doc/0ad/README.txt
/usr/share/icons/hicolor/128x128/apps/0ad.png
/usr/share/licenses/0ad
/usr/share/licenses/0ad/LICENSE.txt
/usr/share/licenses/0ad/license_gpl-2.0.txt
/usr/share/licenses/0ad/license_lgpl-2.1.txt
/usr/share/licenses/0ad/license_mit.txt
/usr/share/man/man6/0ad.6.gz
/usr/share/man/man6/pyrogenesis.6.gz
/usr/share/metainfo/0ad.appdata.xml

References

Summary

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