How To Install libjpeg-turbo-utils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libjpeg-turbo-utils.x86_64 in Amazon Linux 2. libjpeg-turbo-utils.x86_64 is Utilities for manipulating JPEG images

Introduction

In this tutorial we learn how to install libjpeg-turbo-utils.x86_64 on Amazon Linux 2.

What is libjpeg-turbo-utils.x86_64

The libjpeg-turbo-utils package contains simple client programs for accessing the libjpeg functions. It contains cjpeg, djpeg, jpegtran, rdjpgcom and wrjpgcom. Cjpeg compresses an image file into JPEG format. Djpeg decompresses a JPEG file into a regular image file. Jpegtran can perform various useful transformations on JPEG files. Rdjpgcom displays any text comments included in a JPEG file. Wrjpgcom inserts text comments into a JPEG file.

We can use yum to install libjpeg-turbo-utils.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libjpeg-turbo-utils.x86_64.

Install libjpeg-turbo-utils.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libjpeg-turbo-utils.x86_64 using yum by running the following command:

sudo yum -y install libjpeg-turbo-utils.x86_64

How To Uninstall libjpeg-turbo-utils.x86_64 on Amazon Linux 2

To uninstall only the libjpeg-turbo-utils.x86_64 package we can use the following command:

sudo yum remove libjpeg-turbo-utils.x86_64

libjpeg-turbo-utils.x86_64 Package Contents on Amazon Linux 2

/usr/bin/cjpeg
/usr/bin/djpeg
/usr/bin/jpegtran
/usr/bin/rdjpgcom
/usr/bin/wrjpgcom
/usr/share/doc/libjpeg-turbo-utils-2.0.90
/usr/share/doc/libjpeg-turbo-utils-2.0.90/usage.txt
/usr/share/doc/libjpeg-turbo-utils-2.0.90/wizard.txt
/usr/share/man/man1/cjpeg.1.gz
/usr/share/man/man1/djpeg.1.gz
/usr/share/man/man1/jpegtran.1.gz
/usr/share/man/man1/rdjpgcom.1.gz
/usr/share/man/man1/wrjpgcom.1.gz

References

Summary

In this tutorial we learn how to install libjpeg-turbo-utils.x86_64 on Amazon Linux 2 using yum.