How To Install libatomic_ops on Rocky Linux 8

In this tutorial we learn how to install libatomic_ops on Rocky Linux 8. libatomic_ops is Atomic memory update operations

Introduction

In this tutorial we learn how to install libatomic_ops on Rocky Linux 8.

What is libatomic_ops

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 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libatomic_ops.

Install libatomic_ops on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libatomic_ops

Install libatomic_ops on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libatomic_ops

How To Uninstall libatomic_ops on Rocky Linux 8

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

sudo dnf remove libatomic_ops

libatomic_ops Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/5f109068a0ce5823d3941fbf498d936c42fba9
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/333de8bbcda19783b4aed00ab51606de7b7945
/usr/lib/libatomic_ops.so.1
/usr/lib/libatomic_ops.so.1.1.1
/usr/lib/libatomic_ops_gpl.so.1
/usr/lib/libatomic_ops_gpl.so.1.1.2
/usr/share/doc/libatomic_ops
/usr/share/doc/libatomic_ops/AUTHORS
/usr/share/doc/libatomic_ops/ChangeLog
/usr/share/doc/libatomic_ops/README.md
/usr/share/licenses/libatomic_ops
/usr/share/licenses/libatomic_ops/COPYING
/usr/share/licenses/libatomic_ops/LICENSING.txt
/usr/lib/.build-id
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/c869ccc2e7848f62c40700d748bac599e07085
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/bcd7177dcaee8e7b933cf11bddeda2d9da5e9a
/usr/lib64/libatomic_ops.so.1
/usr/lib64/libatomic_ops.so.1.1.1
/usr/lib64/libatomic_ops_gpl.so.1
/usr/lib64/libatomic_ops_gpl.so.1.1.2
/usr/share/doc/libatomic_ops
/usr/share/doc/libatomic_ops/AUTHORS
/usr/share/doc/libatomic_ops/ChangeLog
/usr/share/doc/libatomic_ops/README.md
/usr/share/licenses/libatomic_ops
/usr/share/licenses/libatomic_ops/COPYING
/usr/share/licenses/libatomic_ops/LICENSING.txt

References

Summary

In this tutorial we learn how to install libatomic_ops on Rocky Linux 8 using yum and dnf.