How To Install maven-model on Fedora 36

In this tutorial we learn how to install maven-model in Fedora 36. maven-model is Compatibility Maven model artifact

Introduction

In this tutorial we learn how to install maven-model on Fedora 36.

What is maven-model

Maven model artifact

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

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

sudo dnf -y install maven-model

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

sudo yum -y install maven-model

How To Uninstall maven-model on Fedora 36

To uninstall only the maven-model package we can use the following command:

sudo dnf remove maven-model

maven-model Package Contents on Fedora 36

/usr/share/java/maven
/usr/share/java/maven/maven-model-2.0.2.jar
/usr/share/licenses/maven-model
/usr/share/licenses/maven-model/LICENSE.txt
/usr/share/licenses/maven-model/NOTICE.txt
/usr/share/maven-metadata/maven2-maven-model.xml
/usr/share/maven-poms/maven
/usr/share/maven-poms/maven/maven-model-2.0.2.pom

References

Summary

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