How To Install turbojpeg.i686 on Amazon Linux 2

In this tutorial we learn how to install turbojpeg.i686 in Amazon Linux 2. turbojpeg.i686 is TurboJPEG library

Introduction

In this tutorial we learn how to install turbojpeg.i686 on Amazon Linux 2.

What is turbojpeg.i686

The turbojpeg package contains the TurboJPEG shared library.

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

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

sudo yum -y install turbojpeg.i686

How To Uninstall turbojpeg.i686 on Amazon Linux 2

To uninstall only the turbojpeg.i686 package we can use the following command:

sudo yum remove turbojpeg.i686

turbojpeg.i686 Package Contents on Amazon Linux 2

/usr/lib/libturbojpeg.so.0
/usr/lib/libturbojpeg.so.0.2.0
/usr/share/doc/turbojpeg-2.0.90
/usr/share/doc/turbojpeg-2.0.90/ChangeLog.md
/usr/share/doc/turbojpeg-2.0.90/README.ijg
/usr/share/doc/turbojpeg-2.0.90/README.md
/usr/share/licenses/turbojpeg-2.0.90
/usr/share/licenses/turbojpeg-2.0.90/LICENSE.md

References

Summary

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