How To Install aalib on Fedora 34

aalib is ASCII art library

Introduction

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

What is aalib

AA-lib is a low level gfx library just as many other libraries are. The main difference is that AA-lib does not require graphics device. In fact, there is no graphical output possible. AA-lib replaces those old-fashioned output methods with a powerful ASCII art renderer. The API is designed to be similar to other graphics libraries.

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

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

sudo dnf -y install aalib

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

sudo yum -y install aalib

How To Uninstall aalib on Fedora 34

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

sudo dnf remove aalib

aalib Package Contents on Fedora 34

/usr/bin/aafire
/usr/bin/aainfo
/usr/bin/aasavefont
/usr/bin/aatest
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/ea74786743c4136ea219bb44de113b77e6ba20
/usr/lib/.build-id/55
/usr/lib/.build-id/55/d48db8412c4b17775e55e261924a418006b988
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/71c7c6317df914a48440ebcac1736bf5da9d34
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/9606e538d14b08a95f0ee9b8436f41621cbb0a
/usr/share/man/man1/aafire.1.gz

References

Summary

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