How To Install libnewmat10ldbl on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libnewmat10ldbl on Ubuntu 22.04.
What is libnewmat10ldbl
libnewmat10ldbl is:
Newmat library is intended for scientists and engineers who need to manipulate a variety of types of matrices using standard matrix operations. Emphasis is on the kind of operations needed in statistical calculations such as least squares, linear equation solve and eigenvalues.
Newmat supports matrix types: Matrix (rectangular matrix); UpperTriangularMatrix; LowerTriangularMatrix; DiagonalMatrix; SymmetricMatrix; BandMatrix; UpperBandMatrix; LowerBandMatrix; SymmetricBandMatrix; IdentityMatrix; RowVector; ColumnVector.
Only one element type (float or double) is supported (default is double).
The library includes the operations *, +, -, *=, +=, -=, Kronecker product, Schur product, concatenation, inverse, transpose, conversion between types, submatrix, determinant, Cholesky decomposition, QR triangularisation, singular value decomposition, eigenvalues of a symmetric matrix, sorting, fast Fourier and trig. transforms and printing.
There are three methods to install libnewmat10ldbl on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libnewmat10ldbl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libnewmat10ldbl using apt-get by running the following command:
sudo apt-get -y install libnewmat10ldbl
Install libnewmat10ldbl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libnewmat10ldbl using apt by running the following command:
sudo apt -y install libnewmat10ldbl
Install libnewmat10ldbl 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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install libnewmat10ldbl using aptitude by running the following command:
sudo aptitude -y install libnewmat10ldbl
How To Uninstall libnewmat10ldbl on Ubuntu 22.04
To uninstall only the libnewmat10ldbl package we can use the following command:
sudo apt-get remove libnewmat10ldbl
Uninstall libnewmat10ldbl And Its Dependencies
To uninstall libnewmat10ldbl and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libnewmat10ldbl
Remove libnewmat10ldbl Configurations and Data
To remove libnewmat10ldbl configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libnewmat10ldbl
Remove libnewmat10ldbl configuration, data, and all of its dependencies
We can use the following command to remove libnewmat10ldbl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libnewmat10ldbl
References
Summary
In this tutorial we learn how to install libnewmat10ldbl package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.