How To Install lolcat on Fedora 34

lolcat is High-performance implementation of a colorful cat

Introduction

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

What is lolcat

lolcat is a colorful version of ‘cat’. It is faster than python-lolcat and much faster than ruby-lolcat. It works well with “non-binary” characters, but who would want to display binary data!

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

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

sudo dnf -y install lolcat

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

sudo yum -y install lolcat

How To Uninstall lolcat on Fedora 34

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

sudo dnf remove lolcat

lolcat Package Contents on Fedora 34

/usr/bin/censor
/usr/bin/lolcat
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/ba4ae1866610d3e5c4a0d2d012a8b6ea00e719
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/817f668ac18b51485aab094104f7a3d6fa2218
/usr/share/doc/lolcat
/usr/share/doc/lolcat/README.md
/usr/share/licenses/lolcat
/usr/share/licenses/lolcat/LICENSE

References

Summary

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