pamoil command not found

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

Introduction

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

pamoil: command not found

or when using sudo you get the following error message

sudo: pamoil: command not found

Solutions to pamoil: command not found

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

In Ubuntu pamoil 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 pamoil command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.