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

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

Introduction

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

What is boost-chrono.x86_64

Run-Time support for Boost.Chrono, a set of useful time utilities.

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

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

sudo yum -y install boost-chrono.x86_64

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

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

sudo yum remove boost-chrono.x86_64

boost-chrono.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libboost_chrono-mt.so.1.53.0
/usr/lib64/libboost_chrono.so.1.53.0
/usr/share/doc/boost-chrono-1.53.0
/usr/share/doc/boost-chrono-1.53.0/LICENSE_1_0.txt

References

Summary

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