How To Install libsuperlu-dev on Debian 10
Introduction
In this tutorial we learn how to install libsuperlu-dev
on Debian 10.
What is libsuperlu-dev
libsuperlu-dev is:
Development files for SuperLU.
SuperLU is a general purpose library for the direct solution of large, sparse, nonsymmetric systems of linear equations on high performance machines.
The library is written in C and is callable from either C or Fortran. The library routines will perform an LU decomposition with partial pivoting and triangular system solves through forward and back substitution. The LU factorization routines can handle non-square matrices but the triangular solves are performed only for square matrices. The matrix columns may be preordered (before factorization) either through library or user supplied routines. This preordering for sparsity is completely separate from the factorization. Working precision iterative refinement subroutines are provided for improved backward stability. Routines are also provided to equilibrate the system, estimate the condition number, calculate the relative backward error, and estimate error bounds for the refined solutions.
This package contains the header and development files to build against SuperLU.
There are three methods to install libsuperlu-dev
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libsuperlu-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 libsuperlu-dev
using apt-get
by running the following command:
sudo apt-get -y install libsuperlu-dev
Install libsuperlu-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libsuperlu-dev
using apt
by running the following command:
sudo apt -y install libsuperlu-dev
Install libsuperlu-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 libsuperlu-dev
using aptitude
by running the following command:
sudo aptitude -y install libsuperlu-dev
How To Uninstall libsuperlu-dev on Debian 10
To uninstall only the libsuperlu-dev
package we can use the following command:
sudo apt-get remove libsuperlu-dev
Uninstall libsuperlu-dev And Its Dependencies
To uninstall libsuperlu-dev
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libsuperlu-dev
Remove libsuperlu-dev Configurations and Data
To remove libsuperlu-dev
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libsuperlu-dev
Remove libsuperlu-dev configuration, data, and all of its dependencies
We can use the following command to remove libsuperlu-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsuperlu-dev
Dependencies
libsuperlu-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libsuperlu-dev
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.