How To Install perl-Math-Complex on Fedora 36

In this tutorial we learn how to install perl-Math-Complex in Fedora 36. perl-Math-Complex is Complex numbers and trigonometric functions

Introduction

In this tutorial we learn how to install perl-Math-Complex on Fedora 36.

What is perl-Math-Complex

This package lets you create and manipulate complex numbers. By default, Perl limits itself to real numbers, but an extra “use” statement brings full complex support, along with a full set of mathematical functions typically associated with and/or extended to complex numbers.

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

Install perl-Math-Complex 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 perl-Math-Complex using dnf by running the following command:

sudo dnf -y install perl-Math-Complex

Install perl-Math-Complex 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 perl-Math-Complex using yum by running the following command:

sudo yum -y install perl-Math-Complex

How To Uninstall perl-Math-Complex on Fedora 36

To uninstall only the perl-Math-Complex package we can use the following command:

sudo dnf remove perl-Math-Complex

perl-Math-Complex Package Contents on Fedora 36

/usr/share/man/man3/Math::Complex.3pm.gz
/usr/share/man/man3/Math::Trig.3pm.gz
/usr/share/perl5/Math
/usr/share/perl5/Math/Complex.pm
/usr/share/perl5/Math/Trig.pm

References

Summary

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