How To Install golang-github-hashicorp-multierror-devel on Fedora 36

In this tutorial we learn how to install golang-github-hashicorp-multierror-devel in Fedora 36. golang-github-hashicorp-multierror-devel is Go package for representing a list of errors as a single error

Introduction

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

What is golang-github-hashicorp-multierror-devel

Go-multierror is a package for Go that provides a mechanism for representing a list of error values as a single error. This allows a function in Go to return an error that might actually be a list of errors. If the caller knows this, they can unwrap the list and access the errors. If the caller does not know, the error formats to a nice human-readable format. Go-multierror implements the errwrap interface so that it can be used with that library, as well. This package contains the source code needed for building packages that reference the following Go import paths – github.com/hashicorp/go-multierror

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

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

sudo dnf -y install golang-github-hashicorp-multierror-devel

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

sudo yum -y install golang-github-hashicorp-multierror-devel

How To Uninstall golang-github-hashicorp-multierror-devel on Fedora 36

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

sudo dnf remove golang-github-hashicorp-multierror-devel

golang-github-hashicorp-multierror-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-hashicorp-multierror-devel
/usr/share/doc/golang-github-hashicorp-multierror-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/hashicorp
/usr/share/gocode/src/github.com/hashicorp/go-multierror
/usr/share/gocode/src/github.com/hashicorp/go-multierror/.goipath
/usr/share/gocode/src/github.com/hashicorp/go-multierror/README.md
/usr/share/gocode/src/github.com/hashicorp/go-multierror/append.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/append_test.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/flatten.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/flatten_test.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/format.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/format_test.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/go.mod
/usr/share/gocode/src/github.com/hashicorp/go-multierror/group.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/group_test.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/multierror.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/multierror_test.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/prefix.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/prefix_test.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/sort.go
/usr/share/gocode/src/github.com/hashicorp/go-multierror/sort_test.go
/usr/share/licenses/golang-github-hashicorp-multierror-devel
/usr/share/licenses/golang-github-hashicorp-multierror-devel/LICENSE

References

Summary

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