How To Install maven-profile on Fedora 36

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

Introduction

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

What is maven-profile

Maven profile artifact

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

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

sudo dnf -y install maven-profile

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

sudo yum -y install maven-profile

How To Uninstall maven-profile on Fedora 36

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

sudo dnf remove maven-profile

maven-profile Package Contents on Fedora 36

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

References

Summary

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