How To Install OpenImageIO on CentOS 8

OpenImageIO is Library for reading and writing images

Introduction

In this tutorial we learn how to install OpenImageIO on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install OpenImageIO.

Install OpenImageIO on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install OpenImageIO

Install OpenImageIO on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove OpenImageIO

OpenImageIO Package Contents on CentOS 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 CentOS 8 using yum and dnf.