How To Install libfield3d-dev on Debian 9

In this tutorial we learn how to install libfield3d-dev on Debian 9. libfield3d-dev is development files for Field3D

Introduction

In this tutorial we learn how to install libfield3d-dev on Debian 9.

What is libfield3d-dev

libfield3d-dev is:

Field3D is an open source library for storing voxel data.

It provides C++ classes that handle in-memory storage and a file format based on HDF5 that allows the C++ objects to be written to and read from disk.

This package contains the development files.

There are three methods to install libfield3d-dev 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 libfield3d-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 libfield3d-dev using apt-get by running the following command:

sudo apt-get -y install libfield3d-dev

Install libfield3d-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfield3d-dev

Install libfield3d-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libfield3d-dev using aptitude by running the following command:

sudo aptitude -y install libfield3d-dev

How To Uninstall libfield3d-dev on Debian 9

To uninstall only the libfield3d-dev package we can use the following command:

sudo apt-get remove libfield3d-dev

Uninstall libfield3d-dev And Its Dependencies

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

sudo apt-get -y autoremove libfield3d-dev

Remove libfield3d-dev Configurations and Data

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

sudo apt-get -y purge libfield3d-dev

Remove libfield3d-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfield3d-dev

Dependencies

libfield3d-dev have the following dependencies:

References

Summary

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