How To Install allegro5 on Fedora 36

In this tutorial we learn how to install allegro5 in Fedora 36. allegro5 is A game programming library

Introduction

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

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.

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

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

sudo dnf -y install allegro5

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

sudo yum -y install allegro5

How To Uninstall allegro5 on Fedora 36

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

sudo dnf remove allegro5

allegro5 Package Contents on Fedora 36

---
title: "How To Install allegro5 on Fedora 36"
linkTitle: "allegro5"
type: "docs"
description: "In this tutorial we learn how to install allegro5 in Fedora 36. allegro5 is A game programming library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/allegro5-featured.png
---

## Introduction

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

### 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.  

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

## Install allegro5 on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install allegro5

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

sudo yum -y install allegro5

How To Uninstall allegro5 on Fedora 36

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

sudo dnf remove allegro5

allegro5 Package Contents on Fedora 36

/etc/allegro5rc
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/eda89db4ec8b4ce73c55465c542ad591fc27ce
/usr/lib/.build-id/67
/usr/lib/.build-id/67/3989d19a59544801e76ccc44ef1d272704cf09
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/599e9467c6cc6c57563892290a64facfbaf362
/usr/lib/.build-id/71
/usr/lib/.build-id/71/7645b312f5edb5ecb53eb59f522e9cdd17ef07
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/50dd0720e816e6e600dbd9dc757e1b3c72c61d
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/f56e18355d8d843d363697aa57794333d1cb0c
/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

References

Summary

/etc/allegro5rc /usr/lib/.build-id /usr/lib/.build-id/02 /usr/lib/.build-id/02/e6861dc81d1ffff12e82cec5542e10bccb3397 /usr/lib/.build-id/8d /usr/lib/.build-id/8d/2f18308ae5958007b945d36ac2d036bde3ee7f /usr/lib/.build-id/98 /usr/lib/.build-id/98/d1bb2ded1fed67c787e4ab9f4509e5c8ecd721 /usr/lib/.build-id/a5 /usr/lib/.build-id/a5/ac45b84eaacad31155ccaeea7206d45e8abdf9 /usr/lib/.build-id/b9 /usr/lib/.build-id/b9/2b882847b9a3784520873b7203304d403b76b3 /usr/lib/.build-id/ef /usr/lib/.build-id/ef/d95d46e3f9246bb099075544aafc5e86b47b10 /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 In this tutorial we learn how to install allegro5 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


## References

* [allegro5 website](http://liballeg.org/)

## Summary

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