How To Install golang-github-hashicorp-hclog on Fedora 36

In this tutorial we learn how to install golang-github-hashicorp-hclog in Fedora 36. golang-github-hashicorp-hclog is Common logging package for hashicorp tools

Introduction

In this tutorial we learn how to install golang-github-hashicorp-hclog on Fedora 36.

What is golang-github-hashicorp-hclog

Go-hclog is a package for Go that provides a simple key/value logging interface for use in development and production environments.

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

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

sudo dnf -y install golang-github-hashicorp-hclog

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

sudo yum -y install golang-github-hashicorp-hclog

How To Uninstall golang-github-hashicorp-hclog on Fedora 36

To uninstall only the golang-github-hashicorp-hclog package we can use the following command:

sudo dnf remove golang-github-hashicorp-hclog

golang-github-hashicorp-hclog Package Contents on Fedora 36

/usr/bin/hclogvet
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/9373001227a95284a382af16bc25f20bc8866d
/usr/share/doc/golang-github-hashicorp-hclog
/usr/share/doc/golang-github-hashicorp-hclog/README-hclogvet.md
/usr/share/doc/golang-github-hashicorp-hclog/README.md
/usr/share/licenses/golang-github-hashicorp-hclog
/usr/share/licenses/golang-github-hashicorp-hclog/LICENSE

References

Summary

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