How To Install maven-local-openjdk11 on Fedora 36

In this tutorial we learn how to install maven-local-openjdk11 in Fedora 36. maven-local-openjdk11 is OpenJDK 11 toolchain for XMvn

Introduction

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

What is maven-local-openjdk11

OpenJDK 11 toolchain for XMvn

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

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

sudo dnf -y install maven-local-openjdk11

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

sudo yum -y install maven-local-openjdk11

How To Uninstall maven-local-openjdk11 on Fedora 36

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

sudo dnf remove maven-local-openjdk11

maven-local-openjdk11 Package Contents on Fedora 36

/usr/share/xmvn/conf
/usr/share/xmvn/conf/toolchains.xml

References

Summary

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