How To Install libbox-dev on Debian 9
Introduction
In this tutorial we learn how to install libbox-dev
on Debian 9.
What is libbox-dev
libbox-dev is:
BoxLib is a foundation library of C++ classes that facilitate the development of block-structured finite difference algorithms such as arise in the solution of systems of partial differential equations. BoxLib is particularly useful in designing and building adaptive algorithms. BoxLib contains rich data structures for describing operations which take place on data defined in regions of index space that are unions of non-intersecting rectangles. Because we are interested in unsteady problems where the regions of interest may change in response to an evolving solution, support is provided in BoxLib for efficiently building and destroying the data structures. All constructs in BoxLib are designed to run efficiently in parallel.
BoxLib is the foundation library for the PMAMR (porous media) , (low Mach number combustion), CASTRO (compressible astrophysics) codes. and NYX (cosmology) codes. An analogous version of BoxLib written entirely in Fortran90 is the foundation library for the MAESTRO code, for example.
There are three methods to install libbox-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 libbox-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 libbox-dev
using apt-get
by running the following command:
sudo apt-get -y install libbox-dev
Install libbox-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libbox-dev
using apt
by running the following command:
sudo apt -y install libbox-dev
Install libbox-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 libbox-dev
using aptitude
by running the following command:
sudo aptitude -y install libbox-dev
How To Uninstall libbox-dev on Debian 9
To uninstall only the libbox-dev
package we can use the following command:
sudo apt-get remove libbox-dev
Uninstall libbox-dev And Its Dependencies
To uninstall libbox-dev
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libbox-dev
Remove libbox-dev Configurations and Data
To remove libbox-dev
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libbox-dev
Remove libbox-dev configuration, data, and all of its dependencies
We can use the following command to remove libbox-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libbox-dev
Dependencies
libbox-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libbox-dev
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.