How To Install openjpeg2-tools on Rocky Linux 8

In this tutorial we learn how to install openjpeg2-tools on Rocky Linux 8. openjpeg2-tools is OpenJPEG 2 command line tools

Introduction

In this tutorial we learn how to install openjpeg2-tools on Rocky Linux 8.

What is openjpeg2-tools

Command line tools for JPEG 2000 file manipulation, using OpenJPEG2 * opj2_compress * opj2_decompress * opj2_dump

We can use yum or dnf to install openjpeg2-tools on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install openjpeg2-tools.

Install openjpeg2-tools on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install openjpeg2-tools using dnf by running the following command:

sudo dnf -y install openjpeg2-tools

Install openjpeg2-tools on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install openjpeg2-tools using yum by running the following command:

sudo yum -y install openjpeg2-tools

How To Uninstall openjpeg2-tools on Rocky Linux 8

To uninstall only the openjpeg2-tools package we can use the following command:

sudo dnf remove openjpeg2-tools

openjpeg2-tools Package Contents on Rocky Linux 8

/usr/bin/opj2_compress
/usr/bin/opj2_decompress
/usr/bin/opj2_dump
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/f03aba9be16a6f6aba8e33355a8cf38175d897
/usr/lib/.build-id/43
/usr/lib/.build-id/43/26d6a6cd15ccbb6c90890009354d6a374219ef
/usr/lib/.build-id/43/47824d2eb1207265c63247fc8c3d8d81eb9a0e
/usr/share/man/man1/opj2_compress.1.gz
/usr/share/man/man1/opj2_decompress.1.gz
/usr/share/man/man1/opj2_dump.1.gz
/usr/bin/opj2_compress
/usr/bin/opj2_decompress
/usr/bin/opj2_dump
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/ded33ef0866bc8cb0c6532471f0397c2f4f6c9
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/fdfc68ac8cc1be07e837362f75017efa947d4d
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/b4c14d75f2ddb626ed78f9a01ca11d3577724b
/usr/share/man/man1/opj2_compress.1.gz
/usr/share/man/man1/opj2_decompress.1.gz
/usr/share/man/man1/opj2_dump.1.gz

References

Summary

In this tutorial we learn how to install openjpeg2-tools on Rocky Linux 8 using yum and dnf.