How To Install golang-gopkg-retry-1-devel on Fedora 36

In this tutorial we learn how to install golang-gopkg-retry-1-devel in Fedora 36. golang-gopkg-retry-1-devel is Simple retry mechanism for Go

Introduction

In this tutorial we learn how to install golang-gopkg-retry-1-devel on Fedora 36.

What is golang-gopkg-retry-1-devel

Package retry provides a framework for retrying actions. It does not itself invoke the action to be retried, but is intended to be used in a retry loop. This package contains the source code needed for building packages that reference the following Go import paths – gopkg.in/retry.v1

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

Install golang-gopkg-retry-1-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-gopkg-retry-1-devel using dnf by running the following command:

sudo dnf -y install golang-gopkg-retry-1-devel

Install golang-gopkg-retry-1-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-gopkg-retry-1-devel using yum by running the following command:

sudo yum -y install golang-gopkg-retry-1-devel

How To Uninstall golang-gopkg-retry-1-devel on Fedora 36

To uninstall only the golang-gopkg-retry-1-devel package we can use the following command:

sudo dnf remove golang-gopkg-retry-1-devel

golang-gopkg-retry-1-devel Package Contents on Fedora 36

/usr/share/doc/golang-gopkg-retry-1-devel
/usr/share/doc/golang-gopkg-retry-1-devel/README.md
/usr/share/gocode/src/gopkg.in
/usr/share/gocode/src/gopkg.in/retry.v1
/usr/share/gocode/src/gopkg.in/retry.v1/.goipath
/usr/share/gocode/src/gopkg.in/retry.v1/README.md
/usr/share/gocode/src/gopkg.in/retry.v1/clock.go
/usr/share/gocode/src/gopkg.in/retry.v1/example_test.go
/usr/share/gocode/src/gopkg.in/retry.v1/exp.go
/usr/share/gocode/src/gopkg.in/retry.v1/go.mod
/usr/share/gocode/src/gopkg.in/retry.v1/regular.go
/usr/share/gocode/src/gopkg.in/retry.v1/retry.go
/usr/share/gocode/src/gopkg.in/retry.v1/retry_test.go
/usr/share/gocode/src/gopkg.in/retry.v1/strategy.go
/usr/share/licenses/golang-gopkg-retry-1-devel
/usr/share/licenses/golang-gopkg-retry-1-devel/LICENSE

References

Summary

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