How To Install golang-uber-goleak-devel on Fedora 36

In this tutorial we learn how to install golang-uber-goleak-devel in Fedora 36. golang-uber-goleak-devel is Goroutine leak detector

Introduction

In this tutorial we learn how to install golang-uber-goleak-devel on Fedora 36.

What is golang-uber-goleak-devel

Goroutine leak detector. This package contains the source code needed for building packages that reference the following Go import paths – go.uber.org/goleak

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

Install golang-uber-goleak-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-uber-goleak-devel using dnf by running the following command:

sudo dnf -y install golang-uber-goleak-devel

Install golang-uber-goleak-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-uber-goleak-devel using yum by running the following command:

sudo yum -y install golang-uber-goleak-devel

How To Uninstall golang-uber-goleak-devel on Fedora 36

To uninstall only the golang-uber-goleak-devel package we can use the following command:

sudo dnf remove golang-uber-goleak-devel

golang-uber-goleak-devel Package Contents on Fedora 36

/usr/share/doc/golang-uber-goleak-devel
/usr/share/doc/golang-uber-goleak-devel/CHANGELOG.md
/usr/share/doc/golang-uber-goleak-devel/README.md
/usr/share/gocode/src/go.uber.org
/usr/share/gocode/src/go.uber.org/goleak
/usr/share/gocode/src/go.uber.org/goleak/.goipath
/usr/share/gocode/src/go.uber.org/goleak/CHANGELOG.md
/usr/share/gocode/src/go.uber.org/goleak/README.md
/usr/share/gocode/src/go.uber.org/goleak/doc.go
/usr/share/gocode/src/go.uber.org/goleak/go.mod
/usr/share/gocode/src/go.uber.org/goleak/internal
/usr/share/gocode/src/go.uber.org/goleak/internal/stack
/usr/share/gocode/src/go.uber.org/goleak/internal/stack/stacks.go
/usr/share/gocode/src/go.uber.org/goleak/internal/stack/stacks_test.go
/usr/share/gocode/src/go.uber.org/goleak/leaks.go
/usr/share/gocode/src/go.uber.org/goleak/leaks_test.go
/usr/share/gocode/src/go.uber.org/goleak/options.go
/usr/share/gocode/src/go.uber.org/goleak/options_test.go
/usr/share/gocode/src/go.uber.org/goleak/signal_test.go
/usr/share/gocode/src/go.uber.org/goleak/testmain.go
/usr/share/gocode/src/go.uber.org/goleak/testmain_test.go
/usr/share/gocode/src/go.uber.org/goleak/tools_test.go
/usr/share/gocode/src/go.uber.org/goleak/tracestack_new.go
/usr/share/gocode/src/go.uber.org/goleak/tracestack_old.go
/usr/share/gocode/src/go.uber.org/goleak/utils_test.go
/usr/share/licenses/golang-uber-goleak-devel
/usr/share/licenses/golang-uber-goleak-devel/LICENSE

References

Summary

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