How To Install libmath-matrixreal-perl on Kali Linux
Introduction
In this tutorial we learn how to install libmath-matrixreal-perl
on Kali Linux.
What is libmath-matrixreal-perl
libmath-matrixreal-perl is:
Math::MatrixReal implements the data type “matrix of reals” (and consequently also “vector of reals”) which can be used almost like any other basic Perl type thanks to operator overloading.
It features many important operations and methods: matrix norm, matrix transposition, matrix inverse, determinant of a matrix, order and numerical condition of a matrix, scalar product of vectors, vector product of vectors, vector length, projection of row and column vectors, a comfortable way for reading in a matrix from a file, the keyboard or your code, and many more.
It allows one to solve linear equation systems using an efficient algorithm known as “L-R-decomposition” and several approximative (iterative) methods.
It features an implementation of Kleene’s algorithm to compute the minimal costs for all paths in a graph with weighted edges (the “weights” being the costs associated with each edge).
Finally, it allows one to solve the eigensystem of a real symmetric matrix, using Householder transformation and QL decomposition.
There are three methods to install libmath-matrixreal-perl
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 libmath-matrixreal-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libmath-matrixreal-perl
using apt-get
by running the following command:
sudo apt-get -y install libmath-matrixreal-perl
Install libmath-matrixreal-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmath-matrixreal-perl
using apt
by running the following command:
sudo apt -y install libmath-matrixreal-perl
Install libmath-matrixreal-perl 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 libmath-matrixreal-perl
using aptitude
by running the following command:
sudo aptitude -y install libmath-matrixreal-perl
How To Uninstall libmath-matrixreal-perl on Kali Linux
To uninstall only the libmath-matrixreal-perl
package we can use the following command:
sudo apt-get remove libmath-matrixreal-perl
Uninstall libmath-matrixreal-perl And Its Dependencies
To uninstall libmath-matrixreal-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libmath-matrixreal-perl
Remove libmath-matrixreal-perl Configurations and Data
To remove libmath-matrixreal-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libmath-matrixreal-perl
Remove libmath-matrixreal-perl configuration, data, and all of its dependencies
We can use the following command to remove libmath-matrixreal-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmath-matrixreal-perl
Dependencies
libmath-matrixreal-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libmath-matrixreal-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.