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

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

Introduction

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

What is openjpeg-libs.i686

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

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

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

sudo yum -y install openjpeg-libs.i686

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

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

sudo yum remove openjpeg-libs.i686

openjpeg-libs.i686 Package Contents on Amazon Linux 2

/usr/lib/libopenjpeg.so.1
/usr/lib/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.i686 on Amazon Linux 2 using yum.