How To Install golang-github-prometheus-prom2json on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-prometheus-prom2json
on Fedora 36.
What is golang-github-prometheus-prom2json
A tool to scrape a Prometheus client and dump the result as JSON.
We can use yum
or dnf
to install golang-github-prometheus-prom2json
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-prometheus-prom2json.
Install golang-github-prometheus-prom2json 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 golang-github-prometheus-prom2json
using dnf
by running the following command:
sudo dnf -y install golang-github-prometheus-prom2json
Install golang-github-prometheus-prom2json 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 golang-github-prometheus-prom2json
using yum
by running the following command:
sudo yum -y install golang-github-prometheus-prom2json
How To Uninstall golang-github-prometheus-prom2json on Fedora 36
To uninstall only the golang-github-prometheus-prom2json
package we can use the following command:
sudo dnf remove golang-github-prometheus-prom2json
golang-github-prometheus-prom2json Package Contents on Fedora 36
/usr/bin/prom2json
/usr/lib/.build-id
/usr/lib/.build-id/96
/usr/lib/.build-id/96/ac2dce9b35b0f4567d914b2e5e39fc2d16b800
/usr/share/doc/golang-github-prometheus-prom2json
/usr/share/doc/golang-github-prometheus-prom2json/CHANGELOG.md
/usr/share/doc/golang-github-prometheus-prom2json/CODE_OF_CONDUCT.md
/usr/share/doc/golang-github-prometheus-prom2json/CONTRIBUTING.md
/usr/share/doc/golang-github-prometheus-prom2json/MAINTAINERS.md
/usr/share/doc/golang-github-prometheus-prom2json/README.md
/usr/share/doc/golang-github-prometheus-prom2json/SECURITY.md
/usr/share/licenses/golang-github-prometheus-prom2json
/usr/share/licenses/golang-github-prometheus-prom2json/LICENSE
/usr/share/licenses/golang-github-prometheus-prom2json/NOTICE
References
Summary
In this tutorial we learn how to install golang-github-prometheus-prom2json
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).