How To Install boost-atomic.x86_64 on Amazon Linux 2

In this tutorial we learn how to install boost-atomic.x86_64 in Amazon Linux 2. boost-atomic.x86_64 is Run-Time component of boost atomic library

Introduction

In this tutorial we learn how to install boost-atomic.x86_64 on Amazon Linux 2.

What is boost-atomic.x86_64

Run-Time support for Boost.Atomic, a library that provides atomic data types and operations on these data types, as well as memory ordering constraints required for coordinating multiple threads through atomic variables.

We can use yum to install boost-atomic.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install boost-atomic.x86_64.

Install boost-atomic.x86_64 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 boost-atomic.x86_64 using yum by running the following command:

sudo yum -y install boost-atomic.x86_64

How To Uninstall boost-atomic.x86_64 on Amazon Linux 2

To uninstall only the boost-atomic.x86_64 package we can use the following command:

sudo yum remove boost-atomic.x86_64

boost-atomic.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libboost_atomic-mt.so.1.53.0
/usr/share/doc/boost-atomic-1.53.0
/usr/share/doc/boost-atomic-1.53.0/LICENSE_1_0.txt

References

Summary

In this tutorial we learn how to install boost-atomic.x86_64 on Amazon Linux 2 using yum.