How To Install libjpeg-turbo-utils on Rocky Linux 8

In this tutorial we learn how to install libjpeg-turbo-utils on Rocky Linux 8. libjpeg-turbo-utils is Utilities for manipulating JPEG images

Introduction

In this tutorial we learn how to install libjpeg-turbo-utils on Rocky Linux 8.

What is libjpeg-turbo-utils

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 or dnf to install libjpeg-turbo-utils on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libjpeg-turbo-utils.

Install libjpeg-turbo-utils on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libjpeg-turbo-utils

Install libjpeg-turbo-utils on Rocky Linux 8 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 using yum by running the following command:

sudo yum -y install libjpeg-turbo-utils

How To Uninstall libjpeg-turbo-utils on Rocky Linux 8

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

sudo dnf remove libjpeg-turbo-utils

libjpeg-turbo-utils Package Contents on Rocky Linux 8

/usr/bin/cjpeg
/usr/bin/djpeg
/usr/bin/jpegtran
/usr/bin/rdjpgcom
/usr/bin/wrjpgcom
/usr/lib/.build-id
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/38238c02b33c91a4a805ff7e51509b45ce7f0f
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/7c2c2427969ba4492bded7f81735903583da66
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/c75c2a4b095a272e5312bc2b9bc9af4231b74f
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/fc7df334da74a42c110eb59c7c9782461e15f2
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/319fbda8ee93069415d98cdc92aeac74c79886
/usr/share/doc/libjpeg-turbo-utils
/usr/share/doc/libjpeg-turbo-utils/usage.txt
/usr/share/doc/libjpeg-turbo-utils/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 on Rocky Linux 8 using yum and dnf.