How To Install pvrg-jpeg on Kali Linux

In this tutorial we learn how to install pvrg-jpeg on Kali Linux. pvrg-jpeg is Stanford PVRG JPEG tool

Introduction

In this tutorial we learn how to install pvrg-jpeg on Kali Linux.

What is pvrg-jpeg

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.

There are three methods to install pvrg-jpeg on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install pvrg-jpeg Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install pvrg-jpeg using apt-get by running the following command:

sudo apt-get -y install pvrg-jpeg

Install pvrg-jpeg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pvrg-jpeg using apt by running the following command:

sudo apt -y install pvrg-jpeg

Install pvrg-jpeg Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install pvrg-jpeg using aptitude by running the following command:

sudo aptitude -y install pvrg-jpeg

How To Uninstall pvrg-jpeg on Kali Linux

To uninstall only the pvrg-jpeg package we can use the following command:

sudo apt-get remove pvrg-jpeg

Uninstall pvrg-jpeg And Its Dependencies

To uninstall pvrg-jpeg and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove pvrg-jpeg

Remove pvrg-jpeg Configurations and Data

To remove pvrg-jpeg configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge pvrg-jpeg

Remove pvrg-jpeg configuration, data, and all of its dependencies

We can use the following command to remove pvrg-jpeg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pvrg-jpeg

Dependencies

pvrg-jpeg have the following dependencies:

References

Summary

In this tutorial we learn how to install pvrg-jpeg package on Kali Linux using different package management tools: apt, apt-get and aptitude.