How To Install zimg on Rocky Linux 8

In this tutorial we learn how to install zimg on Rocky Linux 8. zimg is Scaling, color space conversion, and dithering library

Introduction

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

What is zimg

The “z” library implements the commonly required image processing basics of scaling, color space conversion, and depth conversion. A simple API enables conversion between any supported formats to operate with minimal knowledge from the programmer. All library routines were designed from the ground-up with correctness, flexibility, and thread-safety as first priorities. Allocation, buffering, and I/O are cleanly separated from processing, allowing the programmer to adapt “z” to many scenarios.

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

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

sudo dnf -y install zimg

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

sudo yum -y install zimg

How To Uninstall zimg on Rocky Linux 8

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

sudo dnf remove zimg

zimg Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/992028de367de3d7ce246085f9a345a33c4d95
/usr/lib64/libzimg.so.2
/usr/lib64/libzimg.so.2.0.0
/usr/share/doc/zimg
/usr/share/doc/zimg/ChangeLog
/usr/share/doc/zimg/README.md
/usr/share/licenses/zimg
/usr/share/licenses/zimg/COPYING

References

Summary

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