How To Install libmpc-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libmpc-devel.x86_64 in Amazon Linux 2. libmpc-devel.x86_64 is Header and shared development libraries for MPC

Introduction

In this tutorial we learn how to install libmpc-devel.x86_64 on Amazon Linux 2.

What is libmpc-devel.x86_64

Header files and shared object symlinks for MPC is a C library.

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

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

sudo yum -y install libmpc-devel.x86_64

How To Uninstall libmpc-devel.x86_64 on Amazon Linux 2

To uninstall only the libmpc-devel.x86_64 package we can use the following command:

sudo yum remove libmpc-devel.x86_64

libmpc-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/mpc.h
/usr/lib64/libmpc.so
/usr/share/info/mpc.info.gz

References

Summary

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