How To Install gmp-c++ on Rocky Linux 8
Introduction
In this tutorial we learn how to install gmp-c++
on Rocky Linux 8.
What is gmp-c++
Bindings for using the GNU MP arbitrary precision library in C++ applications.
We can use yum
or dnf
to install gmp-c++
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gmp-c++.
Install gmp-c++ on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install gmp-c++
using dnf
by running the following command:
sudo dnf -y install gmp-c++
Install gmp-c++ on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gmp-c++
using yum
by running the following command:
sudo yum -y install gmp-c++
How To Uninstall gmp-c++ on Rocky Linux 8
To uninstall only the gmp-c++
package we can use the following command:
sudo dnf remove gmp-c++
gmp-c++ Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/63873d27af69ef6a860f3860c83aa566075e26
/usr/lib/libgmpxx.so.4
/usr/lib/libgmpxx.so.4.5.2
/usr/lib/.build-id
/usr/lib/.build-id/da
/usr/lib/.build-id/da/7c919faad98af09160558be6f2f2fc177a2e98
/usr/lib64/libgmpxx.so.4
/usr/lib64/libgmpxx.so.4.5.2
References
Summary
In this tutorial we learn how to install gmp-c++
on Rocky Linux 8 using yum and dnf.