How To Install libilmbase24 on Ubuntu 20.04

In this tutorial we learn how to install libilmbase24 on Ubuntu 20.04. libilmbase24 is several utility libraries from ILM used by OpenEXR

Introduction

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

What is libilmbase24

libilmbase24 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. Task: kubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop

There are three methods to install libilmbase24 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 libilmbase24 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libilmbase24

Install libilmbase24 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libilmbase24

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

sudo aptitude -y install libilmbase24

How To Uninstall libilmbase24 on Ubuntu 20.04

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

sudo apt-get remove libilmbase24

Uninstall libilmbase24 And Its Dependencies

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

sudo apt-get -y autoremove libilmbase24

Remove libilmbase24 Configurations and Data

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

sudo apt-get -y purge libilmbase24

Remove libilmbase24 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libilmbase24

References

Summary

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