How To Install anarch-SDL2 on Fedora 36

In this tutorial we learn how to install anarch-SDL2 in Fedora 36. anarch-SDL2 is Suckless, anarcho-pacifist Doom clone that runs everywhere (SDL2 version)

Introduction

In this tutorial we learn how to install anarch-SDL2 on Fedora 36.

What is anarch-SDL2

Anarch is an extremely small, completely Public Domain, no-dependency, no-file, portable suckless anarcho-pacifist from-scratch 90s-style Doom clone that runs everywhere, made for the benefit of all living beings. This version of the game runs using the SDL2 library.

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

Install anarch-SDL2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install anarch-SDL2

Install anarch-SDL2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install anarch-SDL2 using yum by running the following command:

sudo yum -y install anarch-SDL2

How To Uninstall anarch-SDL2 on Fedora 36

To uninstall only the anarch-SDL2 package we can use the following command:

sudo dnf remove anarch-SDL2

anarch-SDL2 Package Contents on Fedora 36

/usr/bin/anarch-sdl2
/usr/lib/.build-id
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/791ee3a7ef653af058140c061f7092de134cde
/usr/share/applications/anarch-sdl2.desktop
/usr/share/doc/anarch-SDL2
/usr/share/doc/anarch-SDL2/README.md
/usr/share/icons/hicolor/128x128/apps/anarch-sdl2.png
/usr/share/licenses/anarch-SDL2
/usr/share/licenses/anarch-SDL2/LICENSE
/usr/share/metainfo/anarch-sdl2.metainfo.xml

References

Summary

In this tutorial we learn how to install anarch-SDL2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).