How To Install jfreechart on Fedora 36

In this tutorial we learn how to install jfreechart in Fedora 36. jfreechart is A 2D chart library for Java applications (JavaFX, Swing or server-side)

Introduction

In this tutorial we learn how to install jfreechart on Fedora 36.

What is jfreechart

JFreeChart is a comprehensive free chart library for the Java platform that can be used on the client-side (JavaFX and Swing) or the server side (with export to multiple formats including SVG, PNG and PDF).

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

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

sudo dnf -y install jfreechart

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

sudo yum -y install jfreechart

How To Uninstall jfreechart on Fedora 36

To uninstall only the jfreechart package we can use the following command:

sudo dnf remove jfreechart

jfreechart Package Contents on Fedora 36

/usr/share/doc/jfreechart
/usr/share/doc/jfreechart/README.md
/usr/share/java/jfreechart
/usr/share/java/jfreechart/jfreechart.jar
/usr/share/licenses/jfreechart
/usr/share/licenses/jfreechart/licence-LGPL.txt
/usr/share/maven-metadata/jfreechart.xml
/usr/share/maven-poms/jfreechart
/usr/share/maven-poms/jfreechart/jfreechart.pom

References

Summary

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