How To Install apache-commons-math on Fedora 36

In this tutorial we learn how to install apache-commons-math in Fedora 36. apache-commons-math is Java library of lightweight mathematics and statistics components

Introduction

In this tutorial we learn how to install apache-commons-math on Fedora 36.

What is apache-commons-math

Commons Math is a library of lightweight, self-contained mathematics and statistics components addressing the most common problems not available in the Java programming language or Commons Lang.

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

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

sudo dnf -y install apache-commons-math

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

sudo yum -y install apache-commons-math

How To Uninstall apache-commons-math on Fedora 36

To uninstall only the apache-commons-math package we can use the following command:

sudo dnf remove apache-commons-math

apache-commons-math Package Contents on Fedora 36

/usr/share/doc/apache-commons-math
/usr/share/doc/apache-commons-math/NOTICE.txt
/usr/share/doc/apache-commons-math/RELEASE-NOTES.txt
/usr/share/java/apache-commons-math.jar
/usr/share/java/commons-math3.jar
/usr/share/licenses/apache-commons-math
/usr/share/licenses/apache-commons-math/LICENSE.txt
/usr/share/maven-metadata/apache-commons-math.xml
/usr/share/maven-poms/apache-commons-math.pom
/usr/share/maven-poms/commons-math3.pom

References

Summary

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