How To Install openexr on Ubuntu 20.04

In this tutorial we learn how to install openexr on Ubuntu 20.04. openexr is command-line tools for the OpenEXR image format command-line tools for the OpenEXR image format

Introduction

In this tutorial we learn how to install openexr on Ubuntu 20.04.

What is openexr

openexr is:

OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.

OpenEXR’s features include: * Higher dynamic range and colour precision than existing 8- and 10-bit image file formats. * Support for the “half” 16-bit floating-point pixel format. * Multiple lossless image compression algorithms. Some of the included codecs can achieve 2:1 lossless compression ratios on images with film grain. * Extensibility. New compression codecs and image types can easily be added by extending the C++ classes included in the OpenEXR software distribution. New image attributes (strings, vectors, integers, etc.) can be added to OpenEXR image headers without affecting backward compatibility with existing OpenEXR applications.

This package contains the following tools: * exrheader, a utility for dumping header information. * exrstdattr, a utility for modifying OpenEXR standard attributes. * exrmaketiled, for generating tiled and rip/mipmapped images. * exrenvmap, for creating OpenEXR environment maps. * exrmakepreview, for creating preview images for OpenEXR files.

Package: openexr Architecture: amd64 Version: 2.3.0-6build1 Multi-Arch: foreign Priority: optional Section: universe/graphics Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian PhotoTools Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1312 Depends: libc6 (>= 2.27), libgcc-s1 (>= 3.0), libilmbase24 (>= 2.3.0), libopenexr24 (>= 2.3.0), libstdc++6 (>= 5.2) Suggests: exrtools Filename: pool/universe/o/openexr/openexr_2.3.0-6build1_amd64.deb Size: 71452 MD5sum: 96f9f9395e6fbd9a82554aa01516ce87 SHA1: a7e2631154da6c42df38bb1d800b004718e0dda4 SHA256: 0c2fef2e05b28b3cf93c9152ae780598c829fc9b65e9977afec800a3a4b6da9d Homepage: http://www.openexr.com Description-en: command-line tools for the OpenEXR image format OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.

OpenEXR’s features include: * Higher dynamic range and colour precision than existing 8- and 10-bit image file formats. * Support for the “half” 16-bit floating-point pixel format. * Multiple lossless image compression algorithms. Some of the included codecs can achieve 2:1 lossless compression ratios on images with film grain. * Extensibility. New compression codecs and image types can easily be added by extending the C++ classes included in the OpenEXR software distribution. New image attributes (strings, vectors, integers, etc.) can be added to OpenEXR image headers without affecting backward compatibility with existing OpenEXR applications.

This package contains the following tools: * exrheader, a utility for dumping header information. * exrstdattr, a utility for modifying OpenEXR standard attributes. * exrmaketiled, for generating tiled and rip/mipmapped images. * exrenvmap, for creating OpenEXR environment maps. * exrmakepreview, for creating preview images for OpenEXR files.

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

Install openexr Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install openexr

Install openexr Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install openexr using apt by running the following command:

sudo apt -y install openexr

Install openexr 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install openexr

How To Uninstall openexr on Ubuntu 20.04

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

sudo apt-get remove openexr

Uninstall openexr And Its Dependencies

To uninstall openexr and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove openexr

Remove openexr Configurations and Data

To remove openexr configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge openexr

Remove openexr configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge openexr

References

Summary

In this tutorial we learn how to install openexr package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.