How To Install gmp-ecm on Fedora 36

In this tutorial we learn how to install gmp-ecm in Fedora 36. gmp-ecm is Elliptic Curve Method for Integer Factorization

Introduction

In this tutorial we learn how to install gmp-ecm on Fedora 36.

What is gmp-ecm

Programs and libraries employing elliptic curve method for factoring integers (with GMP for arbitrary precision integers).

We can use yum or dnf to install gmp-ecm on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gmp-ecm.

Install gmp-ecm on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gmp-ecm using dnf by running the following command:

sudo dnf -y install gmp-ecm

Install gmp-ecm on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gmp-ecm using yum by running the following command:

sudo yum -y install gmp-ecm

How To Uninstall gmp-ecm on Fedora 36

To uninstall only the gmp-ecm package we can use the following command:

sudo dnf remove gmp-ecm

gmp-ecm Package Contents on Fedora 36

/usr/bin/gmp-ecm
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/6d4bbb6cc5c5f2402953f3147636220ffb1829
/usr/share/doc/gmp-ecm
/usr/share/doc/gmp-ecm/README
/usr/share/licenses/gmp-ecm
/usr/share/licenses/gmp-ecm/COPYING
/usr/share/man/man1/gmp-ecm.1.gz

References

Summary

In this tutorial we learn how to install gmp-ecm on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).