How To Install gmp.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install gmp.x86_64 on Amazon Linux 2.
What is gmp.x86_64
The gmp package contains GNU MP, a library for arbitrary precision arithmetic, signed integers operations, rational numbers and floating point numbers. GNU MP is designed for speed, for both small and very large operands. GNU MP is fast because it uses fullwords as the basic arithmetic type, it uses fast algorithms, it carefully optimizes assembly code for many CPUs’ most common inner loops, and it generally emphasizes speed over simplicity/elegance in its operations. Install the gmp package if you need a fast arbitrary precision library.
We can use yum to install gmp.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gmp.x86_64.
Install gmp.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 gmp.x86_64 using yum by running the following command:
sudo yum -y install gmp.x86_64
How To Uninstall gmp.x86_64 on Amazon Linux 2
To uninstall only the gmp.x86_64 package we can use the following command:
sudo yum remove gmp.x86_64
gmp.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/fipscheck/libgmp.so.10.2.0.hmac
/usr/lib64/fipscheck/libgmp.so.10.hmac
/usr/lib64/libgmp.so.10
/usr/lib64/libgmp.so.10.2.0
/usr/lib64/libgmpxx.so.4
/usr/lib64/libgmpxx.so.4.4.0
/usr/share/doc/gmp-6.0.0
/usr/share/doc/gmp-6.0.0/NEWS
/usr/share/doc/gmp-6.0.0/README
/usr/share/licenses/gmp-6.0.0
/usr/share/licenses/gmp-6.0.0/COPYING
/usr/share/licenses/gmp-6.0.0/COPYING.LESSERv3
/usr/share/licenses/gmp-6.0.0/COPYINGv2
/usr/share/licenses/gmp-6.0.0/COPYINGv3
References
Summary
In this tutorial we learn how to install gmp.x86_64 on Amazon Linux 2 using yum.