pvrg-jpeg command not found

In this troubleshooting guide we learn how to fix pvrg-jpeg command not found error message

Introduction

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

pvrg-jpeg: command not found

or when using sudo you get the following error message

sudo: pvrg-jpeg: command not found

Solutions to pvrg-jpeg: command not found

How To Fix pvrg-jpeg: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pvrg-jpeg is provided by pvrg-jpeg package.

pvrg-jpeg is:

PVRG is the JPEG implementation from Stanford Portable Video Research Group

This package contains the pvrg-jpeg command line tool. Contrary to cjpeg/djpeg, pvrg-jpeg can also compress in lossless JPEG which is defined in ITU-T T.81, ISO/IEC IS 10918-1. It also support in a single codec 8bits and 12bits lossy JPEG compression/decompression.

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

sudo apt-get -y install pvrg-jpeg

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

You can also use apt command to install pvrg-jpeg.

sudo apt -y install pvrg-jpeg

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

sudo aptitude install pvrg-jpeg

Summary

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