How To Install turbojpeg-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install turbojpeg-devel.x86_64 in Amazon Linux 2. turbojpeg-devel.x86_64 is Headers for the TurboJPEG library

Introduction

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

What is turbojpeg-devel.x86_64

This package contains header files necessary for developing programs which will manipulate JPEG files using the TurboJPEG library.

We can use yum to install turbojpeg-devel.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-devel.x86_64.

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

sudo yum -y install turbojpeg-devel.x86_64

How To Uninstall turbojpeg-devel.x86_64 on Amazon Linux 2

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

sudo yum remove turbojpeg-devel.x86_64

turbojpeg-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/turbojpeg.h
/usr/lib64/libturbojpeg.so
/usr/lib64/pkgconfig/libturbojpeg.pc
/usr/share/doc/turbojpeg-devel-2.0.90
/usr/share/doc/turbojpeg-devel-2.0.90/tjexample.c

References

Summary

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