How To Install libteem-dev on Ubuntu 18.04

In this tutorial we learn how to install libteem-dev on Ubuntu 18.04. libteem-dev is Tools to process and visualize scientific data and images - development

Introduction

In this tutorial we learn how to install libteem-dev on Ubuntu 18.04.

What is libteem-dev

libteem-dev is:

Teem is a coordinated group of libraries for representing, processing, and visualizing scientific raster data. Teem includes command-line tools that permit the library functions to be quickly applied to files and streams, without having to write any code. The most important and useful libraries in Teem are:

  • Nrrd (and the unu command-line tool on top of it) supports a range of operations for transforming N-dimensional raster data (resample, crop, slice, project, histogram, etc.), as well as the NRRD file format for storing arrays and their meta-information.
  • Gage: fast convolution-based measurements at arbitrary point locations in volume datasets (scalar, vector, tensor, etc.)
  • Mite: a multi-threaded ray-casting volume render with transfer functions based on any quantity Gage can measure
  • Ten: for estimating, processing, and visualizing diffusion tensor fields, including fiber tractography methods.

This package provides the Teem header files required to compile C++ programs that use Teem to do 3D visualisation.

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

sudo apt-get -y install libteem-dev

Install libteem-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libteem-dev

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

sudo aptitude update

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

sudo aptitude -y install libteem-dev

How To Uninstall libteem-dev on Ubuntu 18.04

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

sudo apt-get remove libteem-dev

Uninstall libteem-dev And Its Dependencies

To uninstall libteem-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libteem-dev

Remove libteem-dev Configurations and Data

To remove libteem-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libteem-dev

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

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

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

References

Summary

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