How To Install libjpeg-turbo.i686 on Amazon Linux 2

In this tutorial we learn how to install libjpeg-turbo.i686 in Amazon Linux 2. libjpeg-turbo.i686 is A MMX/SSE2/SIMD accelerated library for manipulating JPEG image

Introduction

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

What is libjpeg-turbo.i686

The libjpeg-turbo package contains a library of functions for manipulating JPEG images.

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

Install libjpeg-turbo.i686 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.i686 using yum by running the following command:

sudo yum -y install libjpeg-turbo.i686

How To Uninstall libjpeg-turbo.i686 on Amazon Linux 2

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

sudo yum remove libjpeg-turbo.i686

libjpeg-turbo.i686 Package Contents on Amazon Linux 2

/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.3.0
/usr/share/doc/libjpeg-turbo-2.0.90
/usr/share/doc/libjpeg-turbo-2.0.90/ChangeLog.md
/usr/share/doc/libjpeg-turbo-2.0.90/README.ijg
/usr/share/doc/libjpeg-turbo-2.0.90/README.md
/usr/share/licenses/libjpeg-turbo-2.0.90
/usr/share/licenses/libjpeg-turbo-2.0.90/LICENSE.md

References

Summary

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