How To Install libopenimageio2.4 on Debian 12

Learn how to install libopenimageio2.4 on Debian 12 with this tutorial. libopenimageio2.4 is Library for reading and writing images - runtime

Introduction

In this tutorial we learn how to install libopenimageio2.4 on Debian 12.

What is libopenimageio2.4

libopenimageio2.4 is:

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 – that is, a “client app” doesn’t need to know the details about any particular image file formats. Specific formats are implemented by DLL/DSO plugins.

  • 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, WebP. More coming! The plugins are really good at understanding all the strange corners of the image formats, and are very careful about preserving image metadata (including Exif, GPS, and IPTC data).

  • An ImageCache class that transparently manages a cache so that it can access truly vast amounts of image data (thousands of image files totaling hundreds of GB) very efficiently using only a tiny amount (tens of megabytes at most) of runtime memory. Additionally, a TextureSystem class provides filtered MIP-map texture lookups, atop the nice caching behavior of ImageCache.

  • Several image tools based on these classes, including iinfo (print detailed info about images), iconvert (convert among formats, data types, or modify metadata), idiff (compare images), igrep (search images for matching metadata). Because these tools are based on ImageInput/ImageOutput, they work with any image formats for which ImageIO plugins are available.

  • A really nice image viewer, iv, also based on OpenImageIO classes (and so will work with any formats for which plugins are available).

  • Supported on Linux, OS X, and Windows.

  • All available under the BSD license, so you may modify it and use it in both open source or proprietary apps.

This package contains the runtime library for building programs that use libOpenImageIO.

There are three methods to install libopenimageio2.4 on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libopenimageio2.4 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libopenimageio2.4 using apt-get by running the following command:

sudo apt-get -y install libopenimageio2.4

Install libopenimageio2.4 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libopenimageio2.4 using apt by running the following command:

sudo apt -y install libopenimageio2.4

Install libopenimageio2.4 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libopenimageio2.4 using aptitude by running the following command:

sudo aptitude -y install libopenimageio2.4

How To Uninstall libopenimageio2.4 on Debian 12

To uninstall only the libopenimageio2.4 package we can use the following command:

sudo apt-get remove libopenimageio2.4

Uninstall libopenimageio2.4 And Its Dependencies

To uninstall libopenimageio2.4 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libopenimageio2.4

Remove libopenimageio2.4 Configurations and Data

To remove libopenimageio2.4 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libopenimageio2.4

Remove libopenimageio2.4 configuration, data, and all of its dependencies

We can use the following command to remove libopenimageio2.4 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libopenimageio2.4

Dependencies

libopenimageio2.4 have the following dependencies:

References

Summary

In this tutorial we learn how to install libopenimageio2.4 package on Debian 12 using different package management tools: apt, apt-get and aptitude.