How To Install libjpeg-turbo-utils on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install libjpeg-turbo-utils on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove libjpeg-turbo-utils

References

Summary

In this tutorial we learn how to install libjpeg-turbo-utils on AlmaLinux 8 using yum and dnf.