How To Install openjpeg.x86_64 on Amazon Linux 2

In this tutorial we learn how to install openjpeg.x86_64 in Amazon Linux 2. openjpeg.x86_64 is JPEG 2000 command line tools

Introduction

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

What is openjpeg.x86_64

OpenJPEG is an open-source JPEG 2000 codec written in C. It has been developed in order to promote the use of JPEG 2000, the new still-image compression standard from the Joint Photographic Experts Group (JPEG).

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

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

sudo yum -y install openjpeg.x86_64

How To Uninstall openjpeg.x86_64 on Amazon Linux 2

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

sudo yum remove openjpeg.x86_64

openjpeg.x86_64 Package Contents on Amazon Linux 2

/usr/bin/extract_j2k_from_mj2
/usr/bin/frames_to_mj2
/usr/bin/image_to_j2k
/usr/bin/j2k_dump
/usr/bin/j2k_to_image
/usr/bin/mj2_to_frames
/usr/bin/wrap_j2k_in_mj2
/usr/share/man/man1/image_to_j2k.1.gz
/usr/share/man/man1/j2k_dump.1.gz
/usr/share/man/man1/j2k_to_image.1.gz

References

Summary

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