How To Install prometheus-simpleclient-java on Fedora 36

In this tutorial we learn how to install prometheus-simpleclient-java in Fedora 36. prometheus-simpleclient-java is Prometheus JVM Client

Introduction

In this tutorial we learn how to install prometheus-simpleclient-java on Fedora 36.

What is prometheus-simpleclient-java

Prometheus instrumentation library for JVM applications.

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

Install prometheus-simpleclient-java 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 prometheus-simpleclient-java using dnf by running the following command:

sudo dnf -y install prometheus-simpleclient-java

Install prometheus-simpleclient-java 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 prometheus-simpleclient-java using yum by running the following command:

sudo yum -y install prometheus-simpleclient-java

How To Uninstall prometheus-simpleclient-java on Fedora 36

To uninstall only the prometheus-simpleclient-java package we can use the following command:

sudo dnf remove prometheus-simpleclient-java

prometheus-simpleclient-java Package Contents on Fedora 36

/usr/share/doc/prometheus-simpleclient-java
/usr/share/doc/prometheus-simpleclient-java/NOTICE
/usr/share/java/prometheus-simpleclient-java
/usr/share/java/prometheus-simpleclient-java/simpleclient.jar
/usr/share/java/prometheus-simpleclient-java/simpleclient_common.jar
/usr/share/java/prometheus-simpleclient-java/simpleclient_hotspot.jar
/usr/share/java/prometheus-simpleclient-java/simpleclient_httpserver.jar
/usr/share/java/prometheus-simpleclient-java/simpleclient_tracer_common.jar
/usr/share/licenses/prometheus-simpleclient-java
/usr/share/licenses/prometheus-simpleclient-java/LICENSE
/usr/share/maven-metadata/prometheus-simpleclient-java.xml
/usr/share/maven-poms/prometheus-simpleclient-java
/usr/share/maven-poms/prometheus-simpleclient-java/parent.pom
/usr/share/maven-poms/prometheus-simpleclient-java/simpleclient.pom
/usr/share/maven-poms/prometheus-simpleclient-java/simpleclient_common.pom
/usr/share/maven-poms/prometheus-simpleclient-java/simpleclient_hotspot.pom
/usr/share/maven-poms/prometheus-simpleclient-java/simpleclient_httpserver.pom
/usr/share/maven-poms/prometheus-simpleclient-java/simpleclient_tracer.pom
/usr/share/maven-poms/prometheus-simpleclient-java/simpleclient_tracer_common.pom

References

Summary

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