How To Install php-laminas-math on Fedora 36

In this tutorial we learn how to install php-laminas-math in Fedora 36. php-laminas-math is Laminas Framework Math component

Introduction

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

What is php-laminas-math

laminas-math provides general mathematical functions. So far the supported functionalities are * Laminas\Math\Rand, a random number generator; * Laminas\Math\BigInteger, a library to manage big integers. Documentation

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

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

sudo dnf -y install php-laminas-math

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

sudo yum -y install php-laminas-math

How To Uninstall php-laminas-math on Fedora 36

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

sudo dnf remove php-laminas-math

php-laminas-math Package Contents on Fedora 36

/usr/share/doc/php-laminas-math
/usr/share/doc/php-laminas-math/COPYRIGHT.md
/usr/share/doc/php-laminas-math/README.md
/usr/share/doc/php-laminas-math/composer.json
/usr/share/licenses/php-laminas-math
/usr/share/licenses/php-laminas-math/LICENSE
/usr/share/php/Laminas/Math
/usr/share/php/Laminas/Math/BigInteger
/usr/share/php/Laminas/Math/BigInteger/Adapter
/usr/share/php/Laminas/Math/BigInteger/Adapter/AdapterInterface.php
/usr/share/php/Laminas/Math/BigInteger/Adapter/Bcmath.php
/usr/share/php/Laminas/Math/BigInteger/Adapter/Gmp.php
/usr/share/php/Laminas/Math/BigInteger/BigInteger.php
/usr/share/php/Laminas/Math/BigInteger/Exception
/usr/share/php/Laminas/Math/BigInteger/Exception/DivisionByZeroException.php
/usr/share/php/Laminas/Math/BigInteger/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Math/BigInteger/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Math/BigInteger/Exception/RuntimeException.php
/usr/share/php/Laminas/Math/Exception
/usr/share/php/Laminas/Math/Exception/DomainException.php
/usr/share/php/Laminas/Math/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Math/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Math/Exception/RuntimeException.php
/usr/share/php/Laminas/Math/Rand.php
/usr/share/php/Laminas/Math/autoload.php
/usr/share/php/Zend/Math
/usr/share/php/Zend/Math/autoload.php

References

Summary

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