pnginfo command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pnginfo: command not found
or when using sudo you get the following error message
sudo: pnginfo: command not found
Solutions to pnginfo: command not found
How To Fix pnginfo: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pnginfo 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 pnginfo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.