pngchunks command not found

In this troubleshooting guide we learn how to fix pngchunks command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pngchunks: command not found

or when using sudo you get the following error message

sudo: pngchunks: command not found

Solutions to pngchunks: command not found

How To Fix pngchunks: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pngchunks is provided by pngtools package.

pngtools is:

pngtools is a suite of utilities to work with PNG (Portable Network Graphics) files, equivalents to libtiff’s tiffinfo, and tiffcp commands. These commands are called pnginfo, pngcp. tiffdump is replaced by pngchunks and pngchunkdesc as well.

To fix this problem, we can install more using the command below.

sudo apt-get -y install pngtools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install pngtools.

sudo apt -y install pngtools

Or if you have aptitude installed you can use the following command.

sudo aptitude install pngtools

Summary

In this tutorial we learn how to fix pngchunks command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.