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