How To Install gmp-c++ on Fedora 36
Introduction
title: “How To Install gmp-c++ on Fedora 36”
linkTitle: “gmp-c++”
In this tutorial we learn how to install gmp-c++
on Fedora 36.
type: “docs”
What is gmp-c++
description: “In this tutorial we learn how to install gmp-c++ in Fedora 36. gmp-c++ is C++ bindings for the GNU MP arbitrary precision library” date: “2022-08-17”
Bindings for using the GNU MP arbitrary precision library in C++ applications.
lastmod: “2022-08-17”
#image: /images/fedora/36/gmp-c++-featured.png
We can use yum
or dnf
to install gmp-c++
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gmp-c++.
Introduction
Install gmp-c++ on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
In this tutorial we learn how to install gmp-c++
on Fedora 36.
### What is `gmp-c++`
sudo dnf makecache --refresh
Bindings for using the GNU MP arbitrary precision library in C++ applications.
After updating yum database, We can install gmp-c++
using dnf
by running the following command:
We can use yum
or dnf
to install gmp-c++
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gmp-c++.
sudo dnf -y install gmp-c++
## Install gmp-c++ on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
Install gmp-c++ on Fedora 36 Using yum
sudo dnf makecache --refresh
Update yum database with `yum` using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gmp-c++
using dnf
by running the following command:
After updating yum database, We can install `gmp-c++` using `yum` by running the following command:
sudo dnf -y install gmp-c++
```bash
sudo yum -y install gmp-c++
## Install gmp-c++ on Fedora 36 Using yum
## How To Uninstall gmp-c++ on Fedora 36
Update yum database with `yum` using the following command.
To uninstall only the `gmp-c++` package we can use the following command:
```bash
sudo yum makecache --refresh
sudo dnf remove gmp-c++
After updating yum database, We can install gmp-c++
using yum
by running the following command:
## gmp-c++ Package Contents on Fedora 36
sudo yum -y install gmp-c++
```bash
How To Uninstall gmp-c++ on Fedora 36
To uninstall only the gmp-c++
package we can use the following command:
sudo dnf remove gmp-c++
gmp-c++ Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/92
/usr/lib/.build-id/92/985a067d01684e34631230e53619fab2554b36
/usr/lib64/libgmpxx.so.4
/usr/lib64/libgmpxx.so.4.6.1
References
Summary
In this tutorial we learn how to install gmp-c++
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/lib/.build-id /usr/lib/.build-id/c0 /usr/lib/.build-id/c0/8487f1b337497ed93df145ccb99f2e33e0b149 /usr/lib/libgmpxx.so.4 /usr/lib/libgmpxx.so.4.6.1
## References
* [gmp-c++ website](https://gmplib.org/)
## Summary
In this tutorial we learn how to install `gmp-c++` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).