How To Install modello on Fedora 34

modello is Modello Data Model toolkit

Introduction

In this tutorial we learn how to install modello on Fedora 34.

What is modello

Modello is a Data Model toolkit in use by the Apache Maven Project. Modello is a framework for code generation from a simple model. Modello generates code from a simple model format based on a plugin architecture, various types of code and descriptors can be generated from the single model, including Java POJOs, XML marshallers/unmarshallers, XSD and documentation.

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

Install modello on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install modello using dnf by running the following command:

sudo dnf -y install modello

Install modello on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install modello using yum by running the following command:

sudo yum -y install modello

How To Uninstall modello on Fedora 34

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

sudo dnf remove modello

modello Package Contents on Fedora 34

/usr/bin/modello
/usr/share/doc/modello
/usr/share/doc/modello/LICENSE
/usr/share/java/modello
/usr/share/java/modello/modello-core.jar
/usr/share/java/modello/modello-maven-plugin.jar
/usr/share/java/modello/modello-plugin-converters.jar
/usr/share/java/modello/modello-plugin-dom4j.jar
/usr/share/java/modello/modello-plugin-jackson.jar
/usr/share/java/modello/modello-plugin-java.jar
/usr/share/java/modello/modello-plugin-jdom.jar
/usr/share/java/modello/modello-plugin-jsonschema.jar
/usr/share/java/modello/modello-plugin-sax.jar
/usr/share/java/modello/modello-plugin-snakeyaml.jar
/usr/share/java/modello/modello-plugin-stax.jar
/usr/share/java/modello/modello-plugin-xdoc.jar
/usr/share/java/modello/modello-plugin-xml.jar
/usr/share/java/modello/modello-plugin-xpp3.jar
/usr/share/java/modello/modello-plugin-xsd.jar
/usr/share/java/modello/modello-test.jar
/usr/share/maven-metadata/modello.xml
/usr/share/maven-poms/modello
/usr/share/maven-poms/modello/modello-core.pom
/usr/share/maven-poms/modello/modello-maven-plugin.pom
/usr/share/maven-poms/modello/modello-plugin-converters.pom
/usr/share/maven-poms/modello/modello-plugin-dom4j.pom
/usr/share/maven-poms/modello/modello-plugin-jackson.pom
/usr/share/maven-poms/modello/modello-plugin-java.pom
/usr/share/maven-poms/modello/modello-plugin-jdom.pom
/usr/share/maven-poms/modello/modello-plugin-jsonschema.pom
/usr/share/maven-poms/modello/modello-plugin-sax.pom
/usr/share/maven-poms/modello/modello-plugin-snakeyaml.pom
/usr/share/maven-poms/modello/modello-plugin-stax.pom
/usr/share/maven-poms/modello/modello-plugin-xdoc.pom
/usr/share/maven-poms/modello/modello-plugin-xml.pom
/usr/share/maven-poms/modello/modello-plugin-xpp3.pom
/usr/share/maven-poms/modello/modello-plugin-xsd.pom
/usr/share/maven-poms/modello/modello-plugins.pom
/usr/share/maven-poms/modello/modello-test.pom
/usr/share/maven-poms/modello/modello.pom

References

Summary

In this tutorial we learn how to install modello on Fedora 34 using yum and dnf.