jpeg command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
jpeg: command not found
or when using sudo you get the following error message
sudo: jpeg: command not found
Solutions to jpeg: command not found
How To Fix jpeg: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu jpeg is provided by libjpeg-tools package.
libjpeg-tools is:
A complete implementation of 10918-1 (JPEG) coming from jpeg.org (the ISO group) with extensions for HDR currently discussed for standardization.
This release also includes the “JPEG on Steroids” improvements implemented for the ICIP 2016 Grand Challenge on Image Compression.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libjpeg-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libjpeg-tools.
sudo apt -y install libjpeg-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install libjpeg-tools
Summary
In this tutorial we learn how to fix jpeg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.