How To Install golang-gopkg-stack-0-devel on Fedora 36

In this tutorial we learn how to install golang-gopkg-stack-0-devel in Fedora 36. golang-gopkg-stack-0-devel is Utilities to capture, manipulate, and format call stacks

Introduction

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

What is golang-gopkg-stack-0-devel

Package Stack implements utilities to capture, manipulate, and format call stacks. It provides a simpler API than package runtime. The implementation takes care of the minutia and special cases of interpreting the program counter (pc) values returned by runtime.Callers. This package contains the source code needed for building packages that reference the following Go import paths – gopkg.in/stack.v0

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

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

sudo dnf -y install golang-gopkg-stack-0-devel

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

sudo yum -y install golang-gopkg-stack-0-devel

How To Uninstall golang-gopkg-stack-0-devel on Fedora 36

To uninstall only the golang-gopkg-stack-0-devel package we can use the following command:

sudo dnf remove golang-gopkg-stack-0-devel

golang-gopkg-stack-0-devel Package Contents on Fedora 36

/usr/share/doc/golang-gopkg-stack-0-devel
/usr/share/doc/golang-gopkg-stack-0-devel/README.md
/usr/share/gocode/src/gopkg.in
/usr/share/gocode/src/gopkg.in/stack.v0
/usr/share/gocode/src/gopkg.in/stack.v0/.goipath
/usr/share/gocode/src/gopkg.in/stack.v0/LICENSE.md
/usr/share/gocode/src/gopkg.in/stack.v0/README.md
/usr/share/gocode/src/gopkg.in/stack.v0/format_test.go
/usr/share/gocode/src/gopkg.in/stack.v0/stack.go
/usr/share/gocode/src/gopkg.in/stack.v0/stack12.go
/usr/share/gocode/src/gopkg.in/stack.v0/stack13.go
/usr/share/gocode/src/gopkg.in/stack.v0/stack_test.go
/usr/share/gocode/src/gopkg.in/stack.v0/stackinternal_test.go
/usr/share/licenses/golang-gopkg-stack-0-devel
/usr/share/licenses/golang-gopkg-stack-0-devel/LICENSE.md

References

Summary

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