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

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

Introduction

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

What is boost-thread.x86_64

Run-Time component Boost.Thread library, which provides classes and functions for managing multiple threads of execution, and for synchronizing data between the threads or providing separate copies of data specific to individual threads.

We can use yum to install boost-thread.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-thread.x86_64.

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

sudo yum -y install boost-thread.x86_64

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

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

sudo yum remove boost-thread.x86_64

boost-thread.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libboost_thread-mt.so.1.53.0
/usr/share/doc/boost-thread-1.53.0
/usr/share/doc/boost-thread-1.53.0/LICENSE_1_0.txt

References

Summary

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