How To Install python-openvdb on Debian 9

In this tutorial we learn how to install python-openvdb on Debian 9. python-openvdb is Sparse Volume Processing toolkit - Python binding

Introduction

In this tutorial we learn how to install python-openvdb on Debian 9.

What is python-openvdb

python-openvdb is:

OpenVDB is an open source C++ library comprising a novel hierarchical data structure and a suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids. It is developed and maintained by DreamWorks Animation for use in volumetric applications typically encountered in feature film production.

This is the package for the Python binding.

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

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

sudo apt-get update

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

sudo apt-get -y install python-openvdb

Install python-openvdb Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-openvdb

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

sudo aptitude -y install python-openvdb

How To Uninstall python-openvdb on Debian 9

To uninstall only the python-openvdb package we can use the following command:

sudo apt-get remove python-openvdb

Uninstall python-openvdb And Its Dependencies

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

sudo apt-get -y autoremove python-openvdb

Remove python-openvdb Configurations and Data

To remove python-openvdb configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-openvdb

Remove python-openvdb configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-openvdb

Dependencies

python-openvdb have the following dependencies:

References

Summary

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