How To Install pngcheck-extras on Rocky Linux 8

In this tutorial we learn how to install pngcheck-extras on Rocky Linux 8. pngcheck-extras is Helper utilities distributed with pngcheck

Introduction

In this tutorial we learn how to install pngcheck-extras on Rocky Linux 8.

What is pngcheck-extras

Included with pngcheck (since version 2.1.0) are two helper utilities - pngsplit - break a PNG, MNG or JNG image into constituent chunks (numbered for easy reassembly) - png-fix-IDAT-windowsize - fix minor zlib-header breakage caused by libpng 1.2.6

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

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

sudo dnf -y install pngcheck-extras

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

sudo yum -y install pngcheck-extras

How To Uninstall pngcheck-extras on Rocky Linux 8

To uninstall only the pngcheck-extras package we can use the following command:

sudo dnf remove pngcheck-extras

pngcheck-extras Package Contents on Rocky Linux 8

/usr/bin/png-fix-IDAT-windowsize
/usr/bin/pngsplit
/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/e5f6388d877b1eff8d287e38a851e87a5d1056
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/d2acaeaca7dee3c4df47470b315f1567d0ed8a
/usr/share/doc/pngcheck-extras
/usr/share/doc/pngcheck-extras/CHANGELOG
/usr/share/doc/pngcheck-extras/README
/usr/share/licenses/pngcheck-extras
/usr/share/licenses/pngcheck-extras/COPYING
/usr/share/man/man1/png-fix-IDAT-windowsize.1.gz
/usr/share/man/man1/pngsplit.1.gz

References

Summary

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