How To Install libteem2 on Ubuntu 18.04

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

Introduction

In this tutorial we learn how to install libteem2 on Ubuntu 18.04.

What is libteem2

libteem2 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 runtime files required to run programs that use Teem to do 3D visualisation.

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

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

sudo apt-get update

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

sudo apt-get -y install libteem2

Install libteem2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libteem2

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

sudo aptitude -y install libteem2

How To Uninstall libteem2 on Ubuntu 18.04

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

sudo apt-get remove libteem2

Uninstall libteem2 And Its Dependencies

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

sudo apt-get -y autoremove libteem2

Remove libteem2 Configurations and Data

To remove libteem2 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libteem2

Remove libteem2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libteem2

References

Summary

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