How To Install libimagequant on AlmaLinux 8

In this tutorial we learn how to install libimagequant in AlmaLinux 8. libimagequant is Palette quantization library

Introduction

In this tutorial we learn how to install libimagequant on AlmaLinux 8.

What is libimagequant

Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images.

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

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

sudo dnf -y install libimagequant

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

sudo yum -y install libimagequant

How To Uninstall libimagequant on AlmaLinux 8

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

sudo dnf remove libimagequant

References

Summary

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