How To Install libatomic on Fedora 34

libatomic is The GNU Atomic library The GNU Atomic library

Introduction

In this tutorial we learn how to install libatomic on Fedora 34.

What is libatomic

This package contains the GNU Atomic library which is a GCC support runtime library for atomic operations not supported by hardware. libatomic 11.2.1 1.fc34 x86_64 49 k gcc-11.2.1-1.fc34.src.rpm updates The GNU Atomic library http GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD This package contains the GNU Atomic library which is a GCC support runtime library for atomic operations not supported by hardware.

We can use yum or dnf to install libatomic on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libatomic.

Install libatomic on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libatomic

Install libatomic on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install libatomic

How To Uninstall libatomic on Fedora 34

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

sudo dnf remove libatomic

libatomic Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/d58b7c764fe115e598a205142bb1d358e2daf5
/usr/lib/libatomic.so.1
/usr/lib/libatomic.so.1.2.0
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/91dbd3632db0f6f75f69e6407cbbb891dfc9de
/usr/lib64/libatomic.so.1
/usr/lib64/libatomic.so.1.2.0
/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/a7e46d41c5556815930a79fe68ff1f3cf4d9bb
/usr/lib/libatomic.so.1
/usr/lib/libatomic.so.1.2.0
/usr/lib/.build-id
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/bd745668e3a34dfc6c7e94185fd74a34918030
/usr/lib64/libatomic.so.1
/usr/lib64/libatomic.so.1.2.0

References

Summary

In this tutorial we learn how to install libatomic on Fedora 34 using yum and dnf.