How To Install jol-parent on Fedora 36
Introduction
In this tutorial we learn how to install jol-parent
on Fedora 36.
What is jol-parent
JOL (Java Object Layout) is a tiny toolbox to analyze Java object layouts. These tools use Unsafe, JVMTI, and Serviceability Agent (SA) heavily to decode the actual object layout, footprint, and references. This makes JOL much more accurate than other tools relying on heap dumps, specification assumptions, etc. This package contains the parent POM for JOL.
We can use yum
or dnf
to install jol-parent
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jol-parent.
Install jol-parent 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 jol-parent
using dnf
by running the following command:
sudo dnf -y install jol-parent
Install jol-parent 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 jol-parent
using yum
by running the following command:
sudo yum -y install jol-parent
How To Uninstall jol-parent on Fedora 36
To uninstall only the jol-parent
package we can use the following command:
sudo dnf remove jol-parent
jol-parent Package Contents on Fedora 36
/usr/share/licenses/jol-parent
/usr/share/licenses/jol-parent/LICENSE
/usr/share/maven-metadata/jol-jol-parent.xml
/usr/share/maven-poms/jol
/usr/share/maven-poms/jol/jol-parent.pom
References
Summary
In this tutorial we learn how to install jol-parent
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).