How To Install zimg on Fedora 34
Introduction
In this tutorial we learn how to install zimg
on Fedora 34.
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. zimg 3.0.1 3.fc34 x86_64 289 k zimg-3.0.1-3.fc34.src.rpm fedora Scaling, color space conversion, and dithering library https WTFPL 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install zimg.
Install zimg on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34
To uninstall only the zimg
package we can use the following command:
sudo dnf remove zimg
zimg Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/61e752f6c8b3e3ecdc22ca91b76e535fdf2212
/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
/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/f94fc4a2476aa537a0a8b97246379dc7b8e89c
/usr/lib/libzimg.so.2
/usr/lib/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
- [zimg website](https://github.com/sekrit-twc/zimg https://github.com/sekrit-twc/zimg)
Summary
In this tutorial we learn how to install zimg
on Fedora 34 using yum and dnf.