How To Install libmpc.i686 on Amazon Linux 2

In this tutorial we learn how to install libmpc.i686 in Amazon Linux 2. libmpc.i686 is C library for multiple precision complex arithmetic

Introduction

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

What is libmpc.i686

MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as Mpfr.

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

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

sudo yum -y install libmpc.i686

How To Uninstall libmpc.i686 on Amazon Linux 2

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

sudo yum remove libmpc.i686

libmpc.i686 Package Contents on Amazon Linux 2

/usr/lib/libmpc.so.3
/usr/lib/libmpc.so.3.0.0
/usr/share/doc/libmpc-1.0.1
/usr/share/doc/libmpc-1.0.1/COPYING.LESSER
/usr/share/doc/libmpc-1.0.1/NEWS
/usr/share/doc/libmpc-1.0.1/README

References

Summary

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