How To Install golang-github-rcrowley-metrics on Fedora 36

In this tutorial we learn how to install golang-github-rcrowley-metrics in Fedora 36. golang-github-rcrowley-metrics is Go port of coda hale’s metrics library

Introduction

In this tutorial we learn how to install golang-github-rcrowley-metrics on Fedora 36.

What is golang-github-rcrowley-metrics

Go port of coda hale’s metrics library.

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

Install golang-github-rcrowley-metrics 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-rcrowley-metrics using dnf by running the following command:

sudo dnf -y install golang-github-rcrowley-metrics

Install golang-github-rcrowley-metrics 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-rcrowley-metrics using yum by running the following command:

sudo yum -y install golang-github-rcrowley-metrics

How To Uninstall golang-github-rcrowley-metrics on Fedora 36

To uninstall only the golang-github-rcrowley-metrics package we can use the following command:

sudo dnf remove golang-github-rcrowley-metrics

golang-github-rcrowley-metrics Package Contents on Fedora 36

/usr/bin/metrics-bench
/usr/bin/metrics-example
/usr/bin/never-read
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/afeea6fe1ed18028709627309c8377e8b92116
/usr/lib/.build-id/26
/usr/lib/.build-id/26/e7c42cd743e5df7339f5120aae939c2767d898
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/9fb9cd666a00a52b901691da93783ed95a05ab
/usr/share/doc/golang-github-rcrowley-metrics
/usr/share/doc/golang-github-rcrowley-metrics/README.md
/usr/share/doc/golang-github-rcrowley-metrics/memory.md
/usr/share/licenses/golang-github-rcrowley-metrics
/usr/share/licenses/golang-github-rcrowley-metrics/LICENSE

References

Summary

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