How To Install golang-github-hashicorp-gcp-common-devel on Fedora 36

In this tutorial we learn how to install golang-github-hashicorp-gcp-common-devel in Fedora 36. golang-github-hashicorp-gcp-common-devel is Common code shared by Google Cloud Platform-maintained plugins

Introduction

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

What is golang-github-hashicorp-gcp-common-devel

Utils for Vault/GCP integrations. Includes helpers for – Parsing GCP credential JSON or finding default credentials – Various helpers for some GCP APIs This package contains the source code needed for building packages that reference the following Go import paths – github.com/hashicorp/go-gcp-common

We can use yum or dnf to install golang-github-hashicorp-gcp-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-hashicorp-gcp-common-devel.

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

sudo dnf -y install golang-github-hashicorp-gcp-common-devel

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

sudo yum -y install golang-github-hashicorp-gcp-common-devel

How To Uninstall golang-github-hashicorp-gcp-common-devel on Fedora 36

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

sudo dnf remove golang-github-hashicorp-gcp-common-devel

golang-github-hashicorp-gcp-common-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-hashicorp-gcp-common-devel
/usr/share/doc/golang-github-hashicorp-gcp-common-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/hashicorp
/usr/share/gocode/src/github.com/hashicorp/go-gcp-common
/usr/share/gocode/src/github.com/hashicorp/go-gcp-common/.goipath
/usr/share/gocode/src/github.com/hashicorp/go-gcp-common/README.md
/usr/share/gocode/src/github.com/hashicorp/go-gcp-common/gcputil
/usr/share/gocode/src/github.com/hashicorp/go-gcp-common/gcputil/compute.go
/usr/share/gocode/src/github.com/hashicorp/go-gcp-common/gcputil/credentials.go
/usr/share/gocode/src/github.com/hashicorp/go-gcp-common/gcputil/iam_admin.go
/usr/share/gocode/src/github.com/hashicorp/go-gcp-common/gcputil/resource_name.go
/usr/share/gocode/src/github.com/hashicorp/go-gcp-common/gcputil/resource_name_test.go
/usr/share/gocode/src/github.com/hashicorp/go-gcp-common/go.mod
/usr/share/licenses/golang-github-hashicorp-gcp-common-devel
/usr/share/licenses/golang-github-hashicorp-gcp-common-devel/LICENSE

References

Summary

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