How To Install libtiledarray-dev on Ubuntu 18.04

In this tutorial we learn how to install libtiledarray-dev on Ubuntu 18.04. libtiledarray-dev is Block-Sparse Tensor Library (development files)

Introduction

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

What is libtiledarray-dev

libtiledarray-dev is:

TiledArray is a scalable, block-sparse tensor library that is designed to aid in rapid composition of high-performance tensor expressions, appearing for example in many-body quantum mechanics. It allows users to compose tensor expressions of arbitrary complexity that closely resembles the standard mathematical notation.

This package contains the static libraries and the header files.

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

sudo apt-get -y install libtiledarray-dev

Install libtiledarray-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtiledarray-dev

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

sudo aptitude -y install libtiledarray-dev

How To Uninstall libtiledarray-dev on Ubuntu 18.04

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

sudo apt-get remove libtiledarray-dev

Uninstall libtiledarray-dev And Its Dependencies

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

sudo apt-get -y autoremove libtiledarray-dev

Remove libtiledarray-dev Configurations and Data

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

sudo apt-get -y purge libtiledarray-dev

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

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

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

References

Summary

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