How To Install libatomic_ops-devel on CentOS 7

In this tutorial we learn how to install libatomic_ops-devel on CentOS 7. libatomic_ops-devel is Atomic memory update operations

Introduction

In this tutorial we learn how to install libatomic_ops-devel on CentOS 7.

What is libatomic_ops-devel

Provides implementations for atomic memory update operations on a number of architectures. This allows direct use of these in reasonably portable code. Unlike earlier similar packages, this one explicitly considers memory barrier semantics, and allows the construction of code that involves minimum overhead across a variety of architectures. Provides implementations for atomic memory update operations on a number of architectures. This allows direct use of these in reasonably portable code. Unlike earlier similar packages, this one explicitly considers memory barrier semantics, and allows the construction of code that involves minimum overhead across a variety of architectures.

We can use yum or dnf to install libatomic_ops-devel on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libatomic_ops-devel.

Install libatomic_ops-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libatomic_ops-devel using yum by running the following command:

sudo yum -y install libatomic_ops-devel

Install libatomic_ops-devel on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libatomic_ops-devel using dnf by running the following command:

sudo dnf -y install libatomic_ops-devel

How To Uninstall libatomic_ops-devel on CentOS 7

To uninstall only the libatomic_ops-devel package we can use the following command:

sudo dnf remove libatomic_ops-devel

References

Summary

In this tutorial we learn how to install libatomic_ops-devel on CentOS 7 using yum and dnf.