How To Install libmpc.x86_64 on Amazon Linux 2
In this tutorial we learn how to install libmpc.x86_64 in Amazon Linux 2. libmpc.x86_64 is C library for multiple precision complex arithmetic
Introduction
In this tutorial we learn how to install libmpc.x86_64
on Amazon Linux 2.
What is libmpc.x86_64
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.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.x86_64.
Install libmpc.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.x86_64
using yum
by running the following command:
sudo yum -y install libmpc.x86_64
How To Uninstall libmpc.x86_64 on Amazon Linux 2
To uninstall only the libmpc.x86_64
package we can use the following command:
sudo yum remove libmpc.x86_64
libmpc.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libmpc.so.3
/usr/lib64/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.x86_64
on Amazon Linux 2 using yum.