How To Install golang-github-prometheus-common-devel on Fedora 36

In this tutorial we learn how to install golang-github-prometheus-common-devel in Fedora 36. golang-github-prometheus-common-devel is Go libraries shared across prometheus components and libraries

Introduction

In this tutorial we learn how to install golang-github-prometheus-common-devel on Fedora 36.

What is golang-github-prometheus-common-devel

This repository contains Go libraries that are shared across Prometheus components and libraries. – config – expfmt – log – model – route – version This package contains the source code needed for building packages that reference the following Go import paths – github.com/prometheus/common

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

Install golang-github-prometheus-common-devel 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-common-devel using dnf by running the following command:

sudo dnf -y install golang-github-prometheus-common-devel

Install golang-github-prometheus-common-devel 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-common-devel using yum by running the following command:

sudo yum -y install golang-github-prometheus-common-devel

How To Uninstall golang-github-prometheus-common-devel on Fedora 36

To uninstall only the golang-github-prometheus-common-devel package we can use the following command:

sudo dnf remove golang-github-prometheus-common-devel

golang-github-prometheus-common-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-prometheus-common-devel
/usr/share/doc/golang-github-prometheus-common-devel/CONTRIBUTING.md
/usr/share/doc/golang-github-prometheus-common-devel/MAINTAINERS.md
/usr/share/doc/golang-github-prometheus-common-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/prometheus
/usr/share/gocode/src/github.com/prometheus/common
/usr/share/gocode/src/github.com/prometheus/common/.goipath
/usr/share/gocode/src/github.com/prometheus/common/CODE_OF_CONDUCT.md
/usr/share/gocode/src/github.com/prometheus/common/CONTRIBUTING.md
/usr/share/gocode/src/github.com/prometheus/common/MAINTAINERS.md
/usr/share/gocode/src/github.com/prometheus/common/README.md
/usr/share/gocode/src/github.com/prometheus/common/expfmt
/usr/share/gocode/src/github.com/prometheus/common/expfmt/bench_test.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/decode.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/decode_test.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/encode.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/encode_test.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/expfmt.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/fuzz.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/openmetrics_create.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/openmetrics_create_test.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/text_create.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/text_create_test.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/text_parse.go
/usr/share/gocode/src/github.com/prometheus/common/expfmt/text_parse_test.go
/usr/share/gocode/src/github.com/prometheus/common/go.mod
/usr/share/gocode/src/github.com/prometheus/common/internal
/usr/share/gocode/src/github.com/prometheus/common/internal/bitbucket.org
/usr/share/gocode/src/github.com/prometheus/common/internal/bitbucket.org/ww
/usr/share/gocode/src/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
/usr/share/gocode/src/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg/autoneg.go
/usr/share/gocode/src/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg/autoneg_test.go
/usr/share/gocode/src/github.com/prometheus/common/model
/usr/share/gocode/src/github.com/prometheus/common/model/alert.go
/usr/share/gocode/src/github.com/prometheus/common/model/alert_test.go
/usr/share/gocode/src/github.com/prometheus/common/model/fingerprinting.go
/usr/share/gocode/src/github.com/prometheus/common/model/fingerprinting_test.go
/usr/share/gocode/src/github.com/prometheus/common/model/fnv.go
/usr/share/gocode/src/github.com/prometheus/common/model/labels.go
/usr/share/gocode/src/github.com/prometheus/common/model/labels_test.go
/usr/share/gocode/src/github.com/prometheus/common/model/labelset.go
/usr/share/gocode/src/github.com/prometheus/common/model/labelset_test.go
/usr/share/gocode/src/github.com/prometheus/common/model/metric.go
/usr/share/gocode/src/github.com/prometheus/common/model/metric_test.go
/usr/share/gocode/src/github.com/prometheus/common/model/model.go
/usr/share/gocode/src/github.com/prometheus/common/model/signature.go
/usr/share/gocode/src/github.com/prometheus/common/model/signature_test.go
/usr/share/gocode/src/github.com/prometheus/common/model/silence.go
/usr/share/gocode/src/github.com/prometheus/common/model/silence_test.go
/usr/share/gocode/src/github.com/prometheus/common/model/time.go
/usr/share/gocode/src/github.com/prometheus/common/model/time_test.go
/usr/share/gocode/src/github.com/prometheus/common/model/value.go
/usr/share/gocode/src/github.com/prometheus/common/model/value_test.go
/usr/share/gocode/src/github.com/prometheus/common/route
/usr/share/gocode/src/github.com/prometheus/common/route/route.go
/usr/share/gocode/src/github.com/prometheus/common/route/route_test.go
/usr/share/gocode/src/github.com/prometheus/common/server
/usr/share/gocode/src/github.com/prometheus/common/server/static_file_server.go
/usr/share/gocode/src/github.com/prometheus/common/server/static_file_server_test.go
/usr/share/gocode/src/github.com/prometheus/common/sigv4
/usr/share/gocode/src/github.com/prometheus/common/sigv4/sigv4.go
/usr/share/gocode/src/github.com/prometheus/common/sigv4/sigv4_config.go
/usr/share/gocode/src/github.com/prometheus/common/sigv4/sigv4_config_test.go
/usr/share/gocode/src/github.com/prometheus/common/sigv4/sigv4_test.go
/usr/share/licenses/golang-github-prometheus-common-devel
/usr/share/licenses/golang-github-prometheus-common-devel/LICENSE
/usr/share/licenses/golang-github-prometheus-common-devel/NOTICE

References

Summary

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