How To Install javapackages-filesystem on Fedora 36

In this tutorial we learn how to install javapackages-filesystem in Fedora 36. javapackages-filesystem is Java packages filesystem layout

Introduction

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

What is javapackages-filesystem

This package provides some basic directories into which Java packages install their content.

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

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

sudo dnf -y install javapackages-filesystem

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

sudo yum -y install javapackages-filesystem

How To Uninstall javapackages-filesystem on Fedora 36

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

sudo dnf remove javapackages-filesystem

javapackages-filesystem Package Contents on Fedora 36

/etc/java
/etc/java/security
/etc/java/security/security.d
/etc/jvm
/etc/jvm-common
/usr/lib/eclipse
/usr/lib/eclipse/dropins
/usr/lib/eclipse/droplets
/usr/lib/eclipse/features
/usr/lib/eclipse/plugins
/usr/lib/java
/usr/lib/jvm
/usr/lib/jvm-common
/usr/lib/jvm-private
/usr/lib/rpm/macros.d/macros.javapackages-filesystem
/usr/share/eclipse
/usr/share/eclipse/dropins
/usr/share/eclipse/droplets
/usr/share/ivy-xmls
/usr/share/java
/usr/share/javadoc
/usr/share/jvm
/usr/share/jvm-common
/usr/share/maven-metadata
/usr/share/maven-poms

References

Summary

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