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

In this tutorial we learn how to install openjpeg2-devel.x86_64 in Amazon Linux 2. openjpeg2-devel.x86_64 is Development files for OpenJPEG 2

Introduction

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

What is openjpeg2-devel.x86_64

The openjpeg2-devel package contains libraries and header files for developing applications that use OpenJPEG 2.

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

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

sudo yum -y install openjpeg2-devel.x86_64

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

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

sudo yum remove openjpeg2-devel.x86_64

openjpeg2-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/openjpeg-2.4
/usr/include/openjpeg-2.4/openjpeg.h
/usr/include/openjpeg-2.4/opj_config.h
/usr/include/openjpeg-2.4/opj_stdint.h
/usr/lib64/libopenjp2.so
/usr/lib64/openjpeg-2.4
/usr/lib64/openjpeg-2.4/OpenJPEGConfig.cmake
/usr/lib64/openjpeg-2.4/OpenJPEGTargets-relwithdebinfo.cmake
/usr/lib64/openjpeg-2.4/OpenJPEGTargets.cmake
/usr/lib64/pkgconfig/libopenjp2.pc

References

Summary

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