How To Install turbojpeg.x86_64 on Amazon Linux 2

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

Introduction

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

What is turbojpeg.x86_64

The turbojpeg package contains the TurboJPEG shared library.

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

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

sudo yum -y install turbojpeg.x86_64

How To Uninstall turbojpeg.x86_64 on Amazon Linux 2

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

sudo yum remove turbojpeg.x86_64

turbojpeg.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libturbojpeg.so.0
/usr/lib64/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.x86_64 on Amazon Linux 2 using yum.