How To Install OpenImageIO on Rocky Linux 8

In this tutorial we learn how to install OpenImageIO on Rocky Linux 8. OpenImageIO is Library for reading and writing images

Introduction

In this tutorial we learn how to install OpenImageIO on Rocky Linux 8.

What is OpenImageIO

OpenImageIO is a library for reading and writing images, and a bunch of related classes, utilities, and applications. Main features include - Extremely simple but powerful ImageInput and ImageOutput APIs for reading and writing 2D images that is format agnostic. - Format plugins for TIFF, JPEG/JFIF, OpenEXR, PNG, HDR/RGBE, Targa, JPEG-2000, DPX, Cineon, FITS, BMP, ICO, RMan Zfile, Softimage PIC, DDS, SGI, PNM/PPM/PGM/PBM, Field3d. - An ImageCache class that transparently manages a cache so that it can access truly vast amounts of image data.

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

Install OpenImageIO 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 OpenImageIO using dnf by running the following command:

sudo dnf -y install OpenImageIO

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

sudo yum -y install OpenImageIO

How To Uninstall OpenImageIO on Rocky Linux 8

To uninstall only the OpenImageIO package we can use the following command:

sudo dnf remove OpenImageIO

OpenImageIO Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/c752e7bf19f34a8da9e129a0780971be6597cf
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/ea67b7c45413a209ff0171a76c0c1534a6126b
/usr/lib64/libOpenImageIO.so.2.1
/usr/lib64/libOpenImageIO.so.2.1.20
/usr/lib64/libOpenImageIO_Util.so.2.1
/usr/lib64/libOpenImageIO_Util.so.2.1.20
/usr/share/doc/OpenImageIO
/usr/share/doc/OpenImageIO/CHANGES.md
/usr/share/doc/OpenImageIO/CREDITS.md
/usr/share/doc/OpenImageIO/README.md
/usr/share/licenses/OpenImageIO
/usr/share/licenses/OpenImageIO/LICENSE-THIRD-PARTY.md
/usr/share/licenses/OpenImageIO/LICENSE.md

References

Summary

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