How To Install libatomic.i686 on Amazon Linux 2

In this tutorial we learn how to install libatomic.i686 in Amazon Linux 2. libatomic.i686 is The GNU Atomic library

Introduction

In this tutorial we learn how to install libatomic.i686 on Amazon Linux 2.

What is libatomic.i686

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

Install libatomic.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libatomic.i686

How To Uninstall libatomic.i686 on Amazon Linux 2

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

sudo yum remove libatomic.i686

libatomic.i686 Package Contents on Amazon Linux 2

/usr/lib/libatomic.so.1
/usr/lib/libatomic.so.1.2.0

References

Summary

In this tutorial we learn how to install libatomic.i686 on Amazon Linux 2 using yum.