How To Install libopenexr-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libopenexr-dev
on Ubuntu 20.04.
What is libopenexr-dev
libopenexr-dev 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 header files required if you wish to compile/develop applications that use OpenEXR libraries.
Package: libopenexr-dev Architecture: amd64 Version: 2.3.0-6build1 Priority: optional Section: universe/libdevel Source: openexr Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian PhotoTools Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 5769 Depends: libilmbase-dev (>= 2.3.0-3), libopenexr24 (= 2.3.0-6build1) Filename: pool/universe/o/openexr/libopenexr-dev_2.3.0-6build1_amd64.deb Size: 727976 MD5sum: 2c1fee172070932151add6a8b98a79b2 SHA1: 7251b59c421c228737751b994657c4728fce5477 SHA256: 6d01e2aac93082b8e27ae21eb44a1c0c876a256891a350ca665614199e882eeb Homepage: http://www.openexr.com Description-en: development files for the OpenEXR image library 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 header files required if you wish to compile/develop applications that use OpenEXR libraries.
There are three methods to install libopenexr-dev
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 libopenexr-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libopenexr-dev
using apt-get
by running the following command:
sudo apt-get -y install libopenexr-dev
Install libopenexr-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libopenexr-dev
using apt
by running the following command:
sudo apt -y install libopenexr-dev
Install libopenexr-dev 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 libopenexr-dev
using aptitude
by running the following command:
sudo aptitude -y install libopenexr-dev
How To Uninstall libopenexr-dev on Ubuntu 20.04
To uninstall only the libopenexr-dev
package we can use the following command:
sudo apt-get remove libopenexr-dev
Uninstall libopenexr-dev And Its Dependencies
To uninstall libopenexr-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libopenexr-dev
Remove libopenexr-dev Configurations and Data
To remove libopenexr-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libopenexr-dev
Remove libopenexr-dev configuration, data, and all of its dependencies
We can use the following command to remove libopenexr-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libopenexr-dev
References
Summary
In this tutorial we learn how to install libopenexr-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.