How To Install libxsimd-doc on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libxsimd-doc
on Ubuntu 22.04.
What is libxsimd-doc
libxsimd-doc is:
SIMD (Single Instruction, Multiple Data) is a feature of microprocessors that has been available for many years. SIMD instructions perform a single operation on a batch of values at once, and thus provide a way to significantly accelerate code execution. However, these instructions differ between microprocessor vendors and compilers.
xsimd provides a unified means for using these features for library authors. Namely, it enables manipulation of batches of numbers with the same arithmetic operators as for single values. It also provides accelerated implementation of common mathematical functions operating on batches.
This package provides the documentation.
There are three methods to install libxsimd-doc
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 libxsimd-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 libxsimd-doc
using apt-get
by running the following command:
sudo apt-get -y install libxsimd-doc
Install libxsimd-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libxsimd-doc
using apt
by running the following command:
sudo apt -y install libxsimd-doc
Install libxsimd-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 libxsimd-doc
using aptitude
by running the following command:
sudo aptitude -y install libxsimd-doc
How To Uninstall libxsimd-doc on Ubuntu 22.04
To uninstall only the libxsimd-doc
package we can use the following command:
sudo apt-get remove libxsimd-doc
Uninstall libxsimd-doc And Its Dependencies
To uninstall libxsimd-doc
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libxsimd-doc
Remove libxsimd-doc Configurations and Data
To remove libxsimd-doc
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libxsimd-doc
Remove libxsimd-doc configuration, data, and all of its dependencies
We can use the following command to remove libxsimd-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libxsimd-doc
References
Summary
In this tutorial we learn how to install libxsimd-doc
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.