How To Install php-pear-math-biginteger on Fedora 36

In this tutorial we learn how to install php-pear-math-biginteger in Fedora 36. php-pear-math-biginteger is Pure-PHP arbitrary precision integer arithmetic library

Introduction

In this tutorial we learn how to install php-pear-math-biginteger on Fedora 36.

What is php-pear-math-biginteger

Supports base-2, base-10, base-16, and base-256 numbers. Uses the GMP or BCMath extensions, if available, and an internal implementation, otherwise.

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

Install php-pear-math-biginteger 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 php-pear-math-biginteger using dnf by running the following command:

sudo dnf -y install php-pear-math-biginteger

Install php-pear-math-biginteger 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 php-pear-math-biginteger using yum by running the following command:

sudo yum -y install php-pear-math-biginteger

How To Uninstall php-pear-math-biginteger on Fedora 36

To uninstall only the php-pear-math-biginteger package we can use the following command:

sudo dnf remove php-pear-math-biginteger

php-pear-math-biginteger Package Contents on Fedora 36

/usr/share/doc/pear/Math_BigInteger
/usr/share/doc/pear/Math_BigInteger/demo
/usr/share/doc/pear/Math_BigInteger/demo/benchmark.php
/usr/share/doc/pear/Math_BigInteger/demo/demo.php
/usr/share/pear/Math
/usr/share/pear/Math/BigInteger.php
/var/lib/pear/pkgxml/php-pear-math-biginteger.xml

References

Summary

In this tutorial we learn how to install php-pear-math-biginteger on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).