How To Install OpenImageIO on CentOS 7

In this tutorial we learn how to install OpenImageIO on CentOS 7. OpenImageIO is Library for reading and writing images

Introduction

In this tutorial we learn how to install OpenImageIO on CentOS 7.

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

Install OpenImageIO on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install OpenImageIO

Install OpenImageIO on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install OpenImageIO

How To Uninstall OpenImageIO on CentOS 7

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

sudo dnf remove OpenImageIO

References

Summary

In this tutorial we learn how to install OpenImageIO on CentOS 7 using yum and dnf.