How To Install compile-command-annotations on Fedora 36

In this tutorial we learn how to install compile-command-annotations in Fedora 36. compile-command-annotations is Hotspot compile command annotations

Introduction

In this tutorial we learn how to install compile-command-annotations on Fedora 36.

What is compile-command-annotations

Annotation based configuration file generator for the Hotspot JVM JIT compiler.

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

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

sudo dnf -y install compile-command-annotations

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

sudo yum -y install compile-command-annotations

How To Uninstall compile-command-annotations on Fedora 36

To uninstall only the compile-command-annotations package we can use the following command:

sudo dnf remove compile-command-annotations

compile-command-annotations Package Contents on Fedora 36

/usr/share/doc/compile-command-annotations
/usr/share/doc/compile-command-annotations/README.md
/usr/share/java/compile-command-annotations
/usr/share/java/compile-command-annotations/compile-command-annotations.jar
/usr/share/licenses/compile-command-annotations
/usr/share/licenses/compile-command-annotations/COPYING
/usr/share/maven-metadata/compile-command-annotations.xml
/usr/share/maven-poms/compile-command-annotations
/usr/share/maven-poms/compile-command-annotations/compile-command-annotations.pom

References

Summary

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