How To Install boost-python.i686 on Amazon Linux 2

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

Introduction

In this tutorial we learn how to install boost-python.i686 on Amazon Linux 2.

What is boost-python.i686

The Boost Python Library is a framework for interfacing Python and C++. It allows you to quickly and seamlessly expose C++ classes functions and objects to Python, and vice versa, using no special tools – just your C++ compiler. This package contains run-time support for Boost Python Library.

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

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

sudo yum -y install boost-python.i686

How To Uninstall boost-python.i686 on Amazon Linux 2

To uninstall only the boost-python.i686 package we can use the following command:

sudo yum remove boost-python.i686

boost-python.i686 Package Contents on Amazon Linux 2

/usr/lib/libboost_python-mt.so.1.53.0
/usr/lib/libboost_python.so.1.53.0
/usr/share/doc/boost-python-1.53.0
/usr/share/doc/boost-python-1.53.0/LICENSE_1_0.txt

References

Summary

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