How To Install allegro5 on Fedora 34

allegro5 is A game programming library A game programming library

Introduction

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

What is allegro5

Allegro is a cross-platform library intended for use in computer games and other types of multimedia programming. Allegro 5 is the latest major revision of the library, designed to take advantage of modern hardware (e.g. hardware acceleration using 3D cards) and operating systems. Although it is not backwards compatible with earlier versions, it still occupies the same niche and retains a familiar style. allegro5 5.2.7 1.fc34 x86_64 449 k allegro5-5.2.7-1.fc34.src.rpm updates A game programming library http zlib Allegro is a cross-platform library intended for use in computer games and other types of multimedia programming. Allegro 5 is the latest major revision of the library, designed to take advantage of modern hardware (e.g. hardware acceleration using 3D cards) and operating systems. Although it is not backwards compatible with earlier versions, it still occupies the same niche and retains a familiar style.

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

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

sudo dnf -y install allegro5

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

sudo yum -y install allegro5

How To Uninstall allegro5 on Fedora 34

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

sudo dnf remove allegro5

allegro5 Package Contents on Fedora 34

/etc/allegro5rc
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/0ffe40b253c038991a16d3a317401a4d09b61e
/usr/lib/.build-id/42
/usr/lib/.build-id/42/f0ccfd2cb7679289782e252d808cd0edadbe28
/usr/lib/.build-id/85
/usr/lib/.build-id/85/914cd31e0664417590a745de7315889522fa1f
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/3713db2019474e9249f4625ab2616a21a63977
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/75ecd707e8467595d0bb0321219e225685b831
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/a98d6fd32b1d0890e499fe988441bddf701098
/usr/lib/liballegro.so.5.2
/usr/lib/liballegro.so.5.2.7
/usr/lib/liballegro_color.so.5.2
/usr/lib/liballegro_color.so.5.2.7
/usr/lib/liballegro_font.so.5.2
/usr/lib/liballegro_font.so.5.2.7
/usr/lib/liballegro_main.so.5.2
/usr/lib/liballegro_main.so.5.2.7
/usr/lib/liballegro_memfile.so.5.2
/usr/lib/liballegro_memfile.so.5.2.7
/usr/lib/liballegro_primitives.so.5.2
/usr/lib/liballegro_primitives.so.5.2.7
/usr/share/doc/allegro5
/usr/share/doc/allegro5/CHANGES-5.0.txt
/usr/share/doc/allegro5/CHANGES-5.1.txt
/usr/share/doc/allegro5/CHANGES-5.2.txt
/usr/share/doc/allegro5/CONTRIBUTORS.txt
/usr/share/doc/allegro5/README.txt
/usr/share/licenses/allegro5
/usr/share/licenses/allegro5/LICENSE.txt
/etc/allegro5rc
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/85a409e0f2c5bc7b77123a3003eb74d607a0aa
/usr/lib/.build-id/35
/usr/lib/.build-id/35/4b6b1af3b21e3191c139836027b04ebb1ceaf9
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/a5ae8b149605485b07e49850aa7f8392380e5a
/usr/lib/.build-id/af
/usr/lib/.build-id/af/5ccc750d12f01ae1c50c72253ef281731f7842
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/faf52dd3ed633b2f91a109b7530ef66399c632
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/5faf043a6742694aedbee1a383ee0457c41c1d
/usr/lib/liballegro.so.5.2
/usr/lib/liballegro.so.5.2.4
/usr/lib/liballegro_color.so.5.2
/usr/lib/liballegro_color.so.5.2.4
/usr/lib/liballegro_font.so.5.2
/usr/lib/liballegro_font.so.5.2.4
/usr/lib/liballegro_main.so.5.2
/usr/lib/liballegro_main.so.5.2.4
/usr/lib/liballegro_memfile.so.5.2
/usr/lib/liballegro_memfile.so.5.2.4
/usr/lib/liballegro_primitives.so.5.2
/usr/lib/liballegro_primitives.so.5.2.4
/usr/share/doc/allegro5
/usr/share/doc/allegro5/CHANGES-5.0.txt
/usr/share/doc/allegro5/CHANGES-5.1.txt
/usr/share/doc/allegro5/CHANGES-5.2.txt
/usr/share/doc/allegro5/CONTRIBUTORS.txt
/usr/share/doc/allegro5/README.txt
/usr/share/licenses/allegro5
/usr/share/licenses/allegro5/LICENSE.txt
/etc/allegro5rc
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/6ff8a2c795a487b93749c4c0e052fc864e2585
/usr/lib/.build-id/31
/usr/lib/.build-id/31/5e574f984b207dbef9b5e9de1f0f5cb3d489a3
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/73f181138266cb432cbbdd7feff4dc2d465cf1
/usr/lib/.build-id/69
/usr/lib/.build-id/69/bda01207b78a38d82328924b8a89b208903ce3
/usr/lib/.build-id/de
/usr/lib/.build-id/de/7618366d9bd3909b7fddc924df4a300829333e
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/d6b498ba5cf161e935504991a50ab927713805
/usr/lib64/liballegro.so.5.2
/usr/lib64/liballegro.so.5.2.4
/usr/lib64/liballegro_color.so.5.2
/usr/lib64/liballegro_color.so.5.2.4
/usr/lib64/liballegro_font.so.5.2
/usr/lib64/liballegro_font.so.5.2.4
/usr/lib64/liballegro_main.so.5.2
/usr/lib64/liballegro_main.so.5.2.4
/usr/lib64/liballegro_memfile.so.5.2
/usr/lib64/liballegro_memfile.so.5.2.4
/usr/lib64/liballegro_primitives.so.5.2
/usr/lib64/liballegro_primitives.so.5.2.4
/usr/share/doc/allegro5
/usr/share/doc/allegro5/CHANGES-5.0.txt
/usr/share/doc/allegro5/CHANGES-5.1.txt
/usr/share/doc/allegro5/CHANGES-5.2.txt
/usr/share/doc/allegro5/CONTRIBUTORS.txt
/usr/share/doc/allegro5/README.txt
/usr/share/licenses/allegro5
/usr/share/licenses/allegro5/LICENSE.txt
/etc/allegro5rc
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/dcecd4e21e6edcb98dbda129717d0f01833efd
/usr/lib/.build-id/40
/usr/lib/.build-id/40/1f3b2e77cb7dfb0e0b46708cde17d15747015e
/usr/lib/.build-id/58
/usr/lib/.build-id/58/3274bc09eba78dee0a41faea25907e0aedd05e
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/6a5f786fd623f4392fbddafce39278548af6a8
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/d30d227f525b60dcacfb6b115685076c46f18c
/usr/lib/.build-id/89
/usr/lib/.build-id/89/dcdbb63093945241d8a5216b423f1ed8858a45
/usr/lib64/liballegro.so.5.2
/usr/lib64/liballegro.so.5.2.7
/usr/lib64/liballegro_color.so.5.2
/usr/lib64/liballegro_color.so.5.2.7
/usr/lib64/liballegro_font.so.5.2
/usr/lib64/liballegro_font.so.5.2.7
/usr/lib64/liballegro_main.so.5.2
/usr/lib64/liballegro_main.so.5.2.7
/usr/lib64/liballegro_memfile.so.5.2
/usr/lib64/liballegro_memfile.so.5.2.7
/usr/lib64/liballegro_primitives.so.5.2
/usr/lib64/liballegro_primitives.so.5.2.7
/usr/share/doc/allegro5
/usr/share/doc/allegro5/CHANGES-5.0.txt
/usr/share/doc/allegro5/CHANGES-5.1.txt
/usr/share/doc/allegro5/CHANGES-5.2.txt
/usr/share/doc/allegro5/CONTRIBUTORS.txt
/usr/share/doc/allegro5/README.txt
/usr/share/licenses/allegro5
/usr/share/licenses/allegro5/LICENSE.txt

References

Summary

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