pnm2ppa command not found

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

Introduction

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

pnm2ppa: command not found

or when using sudo you get the following error message

sudo: pnm2ppa: command not found

Solutions to pnm2ppa: command not found

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

In Ubuntu pnm2ppa is provided by printer-driver-pnm2ppa package.

printer-driver-pnm2ppa is:

Using pnm2ppa it’s possible to run HP-GDI printers on Linux. These printers are normally “Windows-only” and use the PPA protocol which is proprietary. pnm2ppa supports color.

pnm2ppa supports the following printers: HP Deskjet 7XX Series, HP Deskjet 820 Series and HP Deskjet 1000 Series.

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

sudo apt-get -y install printer-driver-pnm2ppa

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

You can also use apt command to install printer-driver-pnm2ppa.

sudo apt -y install printer-driver-pnm2ppa

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

sudo aptitude install printer-driver-pnm2ppa

Summary

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