How To Install libjpeg-turbo-devel.x86_64 on Amazon Linux 2

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

Introduction

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

What is libjpeg-turbo-devel.x86_64

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

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

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

sudo yum -y install libjpeg-turbo-devel.x86_64

How To Uninstall libjpeg-turbo-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libjpeg-turbo-devel.x86_64

libjpeg-turbo-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/jconfig-64.h
/usr/include/jconfig.h
/usr/include/jerror.h
/usr/include/jmorecfg.h
/usr/include/jpegint.h
/usr/include/jpeglib.h
/usr/lib64/cmake/libjpeg-turbo/libjpeg-turboConfig.cmake
/usr/lib64/cmake/libjpeg-turbo/libjpeg-turboConfigVersion.cmake
/usr/lib64/cmake/libjpeg-turbo/libjpeg-turboTargets-release.cmake
/usr/lib64/cmake/libjpeg-turbo/libjpeg-turboTargets.cmake
/usr/lib64/libjpeg.so
/usr/lib64/pkgconfig/libjpeg.pc
/usr/share/doc/libjpeg-turbo-devel-2.0.90
/usr/share/doc/libjpeg-turbo-devel-2.0.90/coderules.txt
/usr/share/doc/libjpeg-turbo-devel-2.0.90/example.txt
/usr/share/doc/libjpeg-turbo-devel-2.0.90/jconfig.txt
/usr/share/doc/libjpeg-turbo-devel-2.0.90/libjpeg.txt
/usr/share/doc/libjpeg-turbo-devel-2.0.90/structure.txt

References

Summary

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