How To Install libopenexr22 on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libopenexr22
on Ubuntu 18.04.
What is libopenexr22
libopenexr22 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 shared library: * IlmImf - a library that reads and writes OpenEXR images.
There are three methods to install libopenexr22
on Ubuntu 18.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 libopenexr22 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libopenexr22
using apt-get
by running the following command:
sudo apt-get -y install libopenexr22
Install libopenexr22 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libopenexr22
using apt
by running the following command:
sudo apt -y install libopenexr22
Install libopenexr22 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 libopenexr22
using aptitude
by running the following command:
sudo aptitude -y install libopenexr22
How To Uninstall libopenexr22 on Ubuntu 18.04
To uninstall only the libopenexr22
package we can use the following command:
sudo apt-get remove libopenexr22
Uninstall libopenexr22 And Its Dependencies
To uninstall libopenexr22
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libopenexr22
Remove libopenexr22 Configurations and Data
To remove libopenexr22
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libopenexr22
Remove libopenexr22 configuration, data, and all of its dependencies
We can use the following command to remove libopenexr22
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libopenexr22
References
Summary
In this tutorial we learn how to install libopenexr22
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.