How To Install javapackages-local on Fedora 36

In this tutorial we learn how to install javapackages-local in Fedora 36. javapackages-local is Non-essential macros and scripts for Java packaging support

Introduction

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

What is javapackages-local

This package provides non-essential macros and scripts to support Java packaging.

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

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

sudo dnf -y install javapackages-local

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

sudo yum -y install javapackages-local

How To Uninstall javapackages-local on Fedora 36

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

sudo dnf remove javapackages-local

javapackages-local Package Contents on Fedora 36

/usr/bin/abs2rel
/usr/bin/xmvn-builddep
/usr/lib/rpm/macros.d/macros.fjava
/usr/share/java-utils/abs2rel.sh
/usr/share/java-utils/builddep.py
/usr/share/java-utils/mvn_alias.py
/usr/share/java-utils/mvn_artifact.py
/usr/share/java-utils/mvn_build.py
/usr/share/java-utils/mvn_compat_version.py
/usr/share/java-utils/mvn_config.py
/usr/share/java-utils/mvn_file.py
/usr/share/java-utils/mvn_package.py
/usr/share/java-utils/pom_editor.py
/usr/share/java-utils/request-artifact.py

References

Summary

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