pnmpsnr command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pnmpsnr: command not found
or when using sudo you get the following error message
sudo: pnmpsnr: command not found
Solutions to pnmpsnr: command not found
How To Fix pnmpsnr: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pnmpsnr is provided by netpbm package.
netpbm is:
Netpbm is a toolkit for manipulation of graphic images, including conversion of images between a variety of different formats. There are over 220 separate tools in the package including converters for more than 80 graphics formats.
To fix this problem, we can install more using the command below.
sudo apt-get -y install netpbm
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install netpbm.
sudo apt -y install netpbm
Or if you have aptitude installed you can use the following command.
sudo aptitude install netpbm
Summary
In this tutorial we learn how to fix pnmpsnr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.