How To Install libatomic-ops-dev on Kali Linux
Introduction
In this tutorial we learn how to install libatomic-ops-dev on Kali Linux.
What is libatomic-ops-dev
libatomic-ops-dev is:
Libatomic-ops implements a large collection of operations, each one of which is a combination of an (optional) atomic memory operation, and a memory barrier. It also implements associated feature-test macros that determine whether a particular operation is available on the current target hardware (either directly or by synthesis). Libatomic-ops attempts to replace various existing files with similar goals, since they usually do not handle differences in memory barrier styles with sufficient generality.
This package provides the header files and documentation needed by developers.
There are three methods to install libatomic-ops-dev 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 libatomic-ops-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libatomic-ops-dev using apt-get by running the following command:
sudo apt-get -y install libatomic-ops-devInstall libatomic-ops-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libatomic-ops-dev using apt by running the following command:
sudo apt -y install libatomic-ops-devInstall libatomic-ops-dev 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 updateAfter updating apt database, We can install libatomic-ops-dev using aptitude by running the following command:
sudo aptitude -y install libatomic-ops-devHow To Uninstall libatomic-ops-dev on Kali Linux
To uninstall only the libatomic-ops-dev package we can use the following command:
sudo apt-get remove libatomic-ops-devUninstall libatomic-ops-dev And Its Dependencies
To uninstall libatomic-ops-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libatomic-ops-devRemove libatomic-ops-dev Configurations and Data
To remove libatomic-ops-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libatomic-ops-devRemove libatomic-ops-dev configuration, data, and all of its dependencies
We can use the following command to remove libatomic-ops-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libatomic-ops-devDependencies
libatomic-ops-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libatomic-ops-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.