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 dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install zimg
using dnf
by running the following command:
sudo dnf -y install zimg
Install zimg on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the zimg
package we can use the following command:
sudo dnf remove zimg
zimg Package Contents on CentOS 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 CentOS 8 using yum and dnf.