How To Install libsuperlu5 on Kali Linux
Introduction
In this tutorial we learn how to install libsuperlu5
on Kali Linux.
What is libsuperlu5
libsuperlu5 is:
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 SuperLU shared library.
There are three methods to install libsuperlu5
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libsuperlu5 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libsuperlu5
using apt-get
by running the following command:
sudo apt-get -y install libsuperlu5
Install libsuperlu5 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libsuperlu5
using apt
by running the following command:
sudo apt -y install libsuperlu5
Install libsuperlu5 Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libsuperlu5
using aptitude
by running the following command:
sudo aptitude -y install libsuperlu5
How To Uninstall libsuperlu5 on Kali Linux
To uninstall only the libsuperlu5
package we can use the following command:
sudo apt-get remove libsuperlu5
Uninstall libsuperlu5 And Its Dependencies
To uninstall libsuperlu5
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libsuperlu5
Remove libsuperlu5 Configurations and Data
To remove libsuperlu5
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libsuperlu5
Remove libsuperlu5 configuration, data, and all of its dependencies
We can use the following command to remove libsuperlu5
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsuperlu5
Dependencies
libsuperlu5 have the following dependencies:
References
Summary
In this tutorial we learn how to install libsuperlu5
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.