wrjpgcom command not found

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

Introduction

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

wrjpgcom: command not found

or when using sudo you get the following error message

sudo: wrjpgcom: command not found

Solutions to wrjpgcom: command not found

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

In Ubuntu wrjpgcom is provided by libjpeg-progs package.

libjpeg-progs is:

This package contains programs for manipulating JPEG files: cjpeg/djpeg: convert to/from the JPEG file format rdjpgcom/wrjpgcom: read/write comments in JPEG files jpegtran: lossless transformations of JPEG files jpegexiforient/exifautotran: manipulate EXIF orientation tag

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

sudo apt-get -y install libjpeg-progs

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

You can also use apt command to install libjpeg-progs.

sudo apt -y install libjpeg-progs

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

sudo aptitude install libjpeg-progs

Summary

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