How To Install libimagequant on Rocky Linux 8

In this tutorial we learn how to install libimagequant on Rocky Linux 8. libimagequant is Palette quantization library

Introduction

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

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

sudo dnf -y install libimagequant

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

sudo yum -y install libimagequant

How To Uninstall libimagequant on Rocky Linux 8

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

sudo dnf remove libimagequant

libimagequant Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/5823354f529dfcc51af06baa1b6be2c2eab7e5
/usr/lib64/libimagequant.so.0
/usr/share/doc/libimagequant
/usr/share/doc/libimagequant/CHANGELOG
/usr/share/doc/libimagequant/README.md
/usr/share/licenses/libimagequant
/usr/share/licenses/libimagequant/COPYRIGHT

References

Summary

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