How To Install boost.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install boost.x86_64 on Amazon Linux 2.
What is boost.x86_64
Boost provides free peer-reviewed portable C++ source libraries. The emphasis is on libraries which work well with the C++ Standard Library, in the hopes of establishing “existing practice” for extensions and providing reference implementations so that the Boost libraries are suitable for eventual standardization. (Some of the libraries have already been included in the C++ 2011 standard and others have been proposed to the C++ Standards Committee for inclusion in future standards.)
We can use yum to install boost.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.x86_64.
Install boost.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.x86_64 using yum by running the following command:
sudo yum -y install boost.x86_64
How To Uninstall boost.x86_64 on Amazon Linux 2
To uninstall only the boost.x86_64 package we can use the following command:
sudo yum remove boost.x86_64
boost.x86_64 Package Contents on Amazon Linux 2
/usr/share/doc/boost-1.53.0
/usr/share/doc/boost-1.53.0/LICENSE_1_0.txt
References
Summary
In this tutorial we learn how to install boost.x86_64 on Amazon Linux 2 using yum.