How To Install fastlz on AlmaLinux 8

In this tutorial we learn how to install fastlz in AlmaLinux 8. fastlz is Portable real-time compression library

Introduction

In this tutorial we learn how to install fastlz on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fastlz.

Install fastlz on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove fastlz

References

Summary

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