How To Install fastlz on Rocky Linux 8

In this tutorial we learn how to install fastlz on Rocky Linux 8. fastlz is Portable real-time compression library

Introduction

In this tutorial we learn how to install fastlz on Rocky Linux 8.

What is fastlz

FastLZ is a lossless data compression library designed for real-time compression and decompression. It favors speed over compression ratio. Decompression requires no memory. Decompression algorithm is very simple, and thus extremely fast.

We can use yum or dnf to install fastlz on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fastlz.

Install fastlz on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install fastlz

Install fastlz on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install fastlz

How To Uninstall fastlz on Rocky Linux 8

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

sudo dnf remove fastlz

fastlz Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/55f7f22d0f71d3021874e3255a33b2bf7c16c0
/usr/lib64/libfastlz.so.0
/usr/share/licenses/fastlz
/usr/share/licenses/fastlz/LICENSE

References

Summary

In this tutorial we learn how to install fastlz on Rocky Linux 8 using yum and dnf.