How To Install libxenium-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libxenium-dev
on Ubuntu 22.04.
What is libxenium-dev
libxenium-dev is:
xenium is a header-only library that provides a collection of concurrent data structures and memory reclamation algorithms. The data structures are parameterized so that they can be used with various reclamation schemes (similar to how the STL allows customization of allocators).
- header only
- highly customizable
- no initialization code needed
- supports dynamic number of threads (no fixed compile time specification)
There are three methods to install libxenium-dev
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 libxenium-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libxenium-dev
using apt-get
by running the following command:
sudo apt-get -y install libxenium-dev
Install libxenium-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libxenium-dev
using apt
by running the following command:
sudo apt -y install libxenium-dev
Install libxenium-dev 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 libxenium-dev
using aptitude
by running the following command:
sudo aptitude -y install libxenium-dev
How To Uninstall libxenium-dev on Ubuntu 22.04
To uninstall only the libxenium-dev
package we can use the following command:
sudo apt-get remove libxenium-dev
Uninstall libxenium-dev And Its Dependencies
To uninstall libxenium-dev
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libxenium-dev
Remove libxenium-dev Configurations and Data
To remove libxenium-dev
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libxenium-dev
Remove libxenium-dev configuration, data, and all of its dependencies
We can use the following command to remove libxenium-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libxenium-dev
References
Summary
In this tutorial we learn how to install libxenium-dev
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.