pgmtoy4m command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pgmtoy4m: command not found
or when using sudo you get the following error message
sudo: pgmtoy4m: command not found
Solutions to pgmtoy4m: command not found
How To Fix pgmtoy4m: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pgmtoy4m is provided by mjpegtools package.
mjpegtools is:
The mjpeg programs are a set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video under Linux.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mjpegtools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mjpegtools.
sudo apt -y install mjpegtools
Or if you have aptitude installed you can use the following command.
sudo aptitude install mjpegtools
Summary
In this tutorial we learn how to fix pgmtoy4m command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.