How To Install gmp.i686 on Amazon Linux 2
Introduction
In this tutorial we learn how to install gmp.i686 on Amazon Linux 2.
What is gmp.i686
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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gmp.i686.
Install gmp.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 gmp.i686 using yum by running the following command:
sudo yum -y install gmp.i686
How To Uninstall gmp.i686 on Amazon Linux 2
To uninstall only the gmp.i686 package we can use the following command:
sudo yum remove gmp.i686
gmp.i686 Package Contents on Amazon Linux 2
/usr/lib/fipscheck/libgmp.so.10.2.0.hmac
/usr/lib/fipscheck/libgmp.so.10.hmac
/usr/lib/libgmp.so.10
/usr/lib/libgmp.so.10.2.0
/usr/lib/libgmpxx.so.4
/usr/lib/libgmpxx.so.4.4.0
/usr/lib/sse2/fipscheck
/usr/lib/sse2/fipscheck/libgmp.so.10.2.0.hmac
/usr/lib/sse2/fipscheck/libgmp.so.10.hmac
/usr/lib/sse2/libgmp.so.10
/usr/lib/sse2/libgmp.so.10.2.0
/usr/lib/sse2/libgmpxx.so.4
/usr/lib/sse2/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.i686 on Amazon Linux 2 using yum.