How To Install xtensor-blas-doc on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 423 words
Introduction
In this tutorial we learn how to install xtensor-blas-doc
on Ubuntu.
What is xtensor-blas-doc
xtensor-blas-doc is:
xtensor-blas is an extension to the header-only xtensor library, offering bindings to BLAS and LAPACK libraries through cxxblas and cxxlapack from the FLENS project.
xtensor-blas currently provides non-broadcasting dot, norm (1- and 2-norm for vectors), inverse, solve, eig, cross, det, slogdet, matrix_rank, inv, cholesky, qr, svd in the xt::linalg namespace (check the corresponding xlinalg.hpp header for the function signatures). The functions, and signatures, are trying to be 1-to-1 equivalent to NumPy. Low-level functions to interface with BLAS or LAPACK with xtensor containers are also offered in the blas and lapack namespace.
This package provides documentation for xtensor-blas.
There are three methods to install xtensor-blas-doc
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install xtensor-blas-doc Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install xtensor-blas-doc
using apt-get
by running the following command:
sudo apt-get -y install xtensor-blas-doc
Install xtensor-blas-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xtensor-blas-doc
using apt
by running the following command:
sudo apt -y install xtensor-blas-doc
Install xtensor-blas-doc 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 xtensor-blas-doc
using aptitude
by running the following command:
sudo aptitude -y install xtensor-blas-doc
How To Uninstall xtensor-blas-doc on Ubuntu
To uninstall only the xtensor-blas-doc
package we can use the following command:
sudo apt-get remove xtensor-blas-doc
Uninstall xtensor-blas-doc And Its Dependencies
To uninstall xtensor-blas-doc
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove xtensor-blas-doc
Remove xtensor-blas-doc Configurations and Data
To remove xtensor-blas-doc
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge xtensor-blas-doc
Remove xtensor-blas-doc configuration, data, and all of its dependencies
We can use the following command to remove xtensor-blas-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xtensor-blas-doc
Dependencies
xtensor-blas-doc have the following dependencies:
References
Summary
In this tutorial we learn how to install xtensor-blas-doc
package on Ubuntu using different package management tools: apt, apt-get and aptitude.