How To Install libilmbase12 on Debian 9

In this tutorial we learn how to install libilmbase12 on Debian 9. libilmbase12 is several utility libraries from ILM used by OpenEXR

Introduction

In this tutorial we learn how to install libilmbase12 on Debian 9.

What is libilmbase12

libilmbase12 is:

IlmBase are a set of utility libraries released by ILM, and used in their OpenEXR implementation. Included in this package you can find:

  • libHalf: a class (Half) for manipulating “half” values (16-bit floating point format) as if they were a built-in C++ data type.

  • libIlmThread: a thread abstraction library on top of pthreads.

  • libImath: a math library with support for matrices, 2d- and 3d-transformations, solvers for linear/quadratic/cubic equations, and more.

  • libIex: an exception handling library.

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

Install libilmbase12 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libilmbase12

Install libilmbase12 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libilmbase12

Install libilmbase12 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 libilmbase12 using aptitude by running the following command:

sudo aptitude -y install libilmbase12

How To Uninstall libilmbase12 on Debian 9

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

sudo apt-get remove libilmbase12

Uninstall libilmbase12 And Its Dependencies

To uninstall libilmbase12 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libilmbase12

Remove libilmbase12 Configurations and Data

To remove libilmbase12 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libilmbase12

Remove libilmbase12 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libilmbase12

Dependencies

libilmbase12 have the following dependencies:

References

Summary

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