How To Install openjpeg-libs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install openjpeg-libs.x86_64 in Amazon Linux 2. openjpeg-libs.x86_64 is JPEG 2000 codec runtime library

Introduction

In this tutorial we learn how to install openjpeg-libs.x86_64 on Amazon Linux 2.

What is openjpeg-libs.x86_64

The openjpeg-libs package contains runtime libraries for applications that use OpenJPEG.

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

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

sudo yum -y install openjpeg-libs.x86_64

How To Uninstall openjpeg-libs.x86_64 on Amazon Linux 2

To uninstall only the openjpeg-libs.x86_64 package we can use the following command:

sudo yum remove openjpeg-libs.x86_64

openjpeg-libs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libopenjpeg.so.1
/usr/lib64/libopenjpeg.so.1.5.1
/usr/share/doc/openjpeg-libs-1.5.1
/usr/share/doc/openjpeg-libs-1.5.1/CHANGES
/usr/share/doc/openjpeg-libs-1.5.1/LICENSE
/usr/share/man/man3/libopenjpeg.3.gz

References

Summary

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