How To Install jdom-demo on Fedora 36

In this tutorial we learn how to install jdom-demo in Fedora 36. jdom-demo is Demos for jdom

Introduction

In this tutorial we learn how to install jdom-demo on Fedora 36.

What is jdom-demo

Demonstrations and samples for jdom.

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

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

sudo dnf -y install jdom-demo

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

sudo yum -y install jdom-demo

How To Uninstall jdom-demo on Fedora 36

To uninstall only the jdom-demo package we can use the following command:

sudo dnf remove jdom-demo

jdom-demo Package Contents on Fedora 36

/usr/share/jdom
/usr/share/jdom/samples
/usr/share/jdom/samples/DescendantDemo.java
/usr/share/jdom/samples/SAXBuilderDemo.java
/usr/share/jdom/samples/SAXBuilderTestEntity.dtd
/usr/share/jdom/samples/SAXBuilderTestEntity.xml
/usr/share/jdom/samples/SAXBuilderTestEntity2.xml
/usr/share/jdom/samples/WarReader.java
/usr/share/jdom/samples/XPathReader.java
/usr/share/jdom/samples/XSLTransform.java
/usr/share/jdom/samples/catalog.xml
/usr/share/jdom/samples/catalog.xsl
/usr/share/jdom/samples/cdata.xml
/usr/share/jdom/samples/contents.xml
/usr/share/jdom/samples/fibo.xml
/usr/share/jdom/samples/inline.xml
/usr/share/jdom/samples/namespaces.xml
/usr/share/jdom/samples/sax
/usr/share/jdom/samples/sax/DataFormatFilter.java
/usr/share/jdom/samples/sax/DataUnformatFilter.java
/usr/share/jdom/samples/sax/DocumentReader.java
/usr/share/jdom/samples/sax/FilterTest.java
/usr/share/jdom/samples/sax/ReaderTest.java
/usr/share/jdom/samples/sax/XMLFilterBase.java
/usr/share/jdom/samples/sax/XMLReaderBase.java
/usr/share/jdom/samples/sax/XMLWriter.java
/usr/share/jdom/samples/sax/test1.xml
/usr/share/jdom/samples/sax/test2.xml
/usr/share/jdom/samples/testNamespaces.xml
/usr/share/jdom/samples/web.xml
/usr/share/licenses/jdom-demo
/usr/share/licenses/jdom-demo/LICENSE.txt

References

Summary

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