How To Install libmpx.i686 on Amazon Linux 2

In this tutorial we learn how to install libmpx.i686 in Amazon Linux 2. libmpx.i686 is The Memory Protection Extensions runtime libraries

Introduction

In this tutorial we learn how to install libmpx.i686 on Amazon Linux 2.

What is libmpx.i686

This package contains the Memory Protection Extensions runtime libraries which is used for -fcheck-pointer-bounds -mmpx instrumented programs.

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

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

sudo yum -y install libmpx.i686

How To Uninstall libmpx.i686 on Amazon Linux 2

To uninstall only the libmpx.i686 package we can use the following command:

sudo yum remove libmpx.i686

libmpx.i686 Package Contents on Amazon Linux 2

/usr/lib/libmpx.so.2
/usr/lib/libmpx.so.2.0.1
/usr/lib/libmpxwrappers.so.2
/usr/lib/libmpxwrappers.so.2.0.1
/usr/share/doc/libmpx-7.3.1
/usr/share/doc/libmpx-7.3.1/ChangeLog.bz2

References

Summary

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