How To Install zimg on AlmaLinux 8

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

Introduction

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

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

sudo dnf -y install zimg

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

sudo yum -y install zimg

How To Uninstall zimg on AlmaLinux 8

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

sudo dnf remove zimg

References

Summary

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