How To Install zimg on CentOS 8
Introduction
In this tutorial we learn how to install zimg on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install zimg.
Install zimg on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install zimg using yum by running the following command:
sudo yum -y install zimg
Install zimg on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install zimg using dnf by running the following command:
sudo dnf -y install zimg
How To Uninstall zimg on CentOS 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 CentOS 8 using yum and dnf.