How To Install jpegpixi on Debian 9
Introduction
In this tutorial we learn how to install jpegpixi on Debian 9.
What is jpegpixi
jpegpixi is:
jpegpixi is short for “JPEG pixel interpolator”. It is a command-line utility which interpolates pixels in JFIF images (commonly referred to as “JPEG images”). This is useful to correct images from a digital camera with CCD defects.
jpegpixi tries to preserve the quality of the JFIF image as much as possible. Most graphics programs decode JFIF images when they are loaded, and re-encode them when they are saved, which results in an overall loss of quality. jpegpixi, on the other hand, does not decode and re-encode the image, but manipulates the encoded image data. In doing so, it also preserves EXIF metadata.
There are three methods to install jpegpixi on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install jpegpixi Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install jpegpixi using apt-get by running the following command:
sudo apt-get -y install jpegpixi
Install jpegpixi Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install jpegpixi using apt by running the following command:
sudo apt -y install jpegpixi
Install jpegpixi Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install jpegpixi using aptitude by running the following command:
sudo aptitude -y install jpegpixi
How To Uninstall jpegpixi on Debian 9
To uninstall only the jpegpixi package we can use the following command:
sudo apt-get remove jpegpixi
Uninstall jpegpixi And Its Dependencies
To uninstall jpegpixi and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove jpegpixi
Remove jpegpixi Configurations and Data
To remove jpegpixi configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge jpegpixi
Remove jpegpixi configuration, data, and all of its dependencies
We can use the following command to remove jpegpixi configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge jpegpixi
Dependencies
jpegpixi have the following dependencies:
References
Summary
In this tutorial we learn how to install jpegpixi package on Debian 9 using different package management tools: apt, apt-get and aptitude.