How To Install libasl-dev on Debian 9

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

Introduction

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

What is libasl-dev

libasl-dev is:

The Advanced Simulation Library (ASL) is a free and open source hardware accelerated multiphysics simulation platform (and an extensible general purpose tool for solving Partial Differential Equations).

Its computational engine is written in OpenCL and utilizes matrix-free solution techniques which enable extraordinarily high performance, memory efficiency and deployability on a variety of massively parallel architectures, ranging from inexpensive FPGAs, DSPs and GPUs up to heterogeneous clusters and supercomputers. The engine is hidden entirely behind simple C++ classes, so that no OpenCL knowledge is required from application programmers. Mesh-free, immersed boundary approach allows one to move from CAD directly to simulation drastically reducing pre-processing efforts and amount of potential errors.

ASL can be used to model various coupled physical and chemical phenomena and employed in a multitude of fields: computational fluid dynamics, virtual sensing, industrial process data validation and reconciliation, image-guided surgery, computer-aided engineering, design space exploration, crystallography, etc…

This package contains the development files.

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

sudo apt-get -y install libasl-dev

Install libasl-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libasl-dev

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

sudo aptitude -y install libasl-dev

How To Uninstall libasl-dev on Debian 9

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

sudo apt-get remove libasl-dev

Uninstall libasl-dev And Its Dependencies

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

sudo apt-get -y autoremove libasl-dev

Remove libasl-dev Configurations and Data

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

sudo apt-get -y purge libasl-dev

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

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

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

Dependencies

libasl-dev have the following dependencies:

References

Summary

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