How To Install golang-github-bugsnag-panicwrap-devel on Fedora 36

In this tutorial we learn how to install golang-github-bugsnag-panicwrap-devel in Fedora 36. golang-github-bugsnag-panicwrap-devel is Go library for catching and handling panics in Go applications

Introduction

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

What is golang-github-bugsnag-panicwrap-devel

Panicwrap is a Go library that re-executes a Go binary and monitors stderr output from the binary for a panic. When it find a panic, it executes a user-defined handler function. Stdout, stderr, stdin, signals, and exit codes continue to work as normal, making the existence of panicwrap mostly invisble to the end user until a panic actually occurs. Since a panic is truly a bug in the program meant to crash the runtime, globally catching panics within Go applications is not supposed to be possible. Despite this, it is often useful to have a way to know when panics occur. panicwrap allows you to do something with these panics, such as writing them to a file, so that you can track when panics occur. Panicwrap is not a panic recovery system. Panics indicate serious problems with your application and should crash the runtime. panicwrap is just meant as a way to monitor for panics. If you still think this is the worst idea ever, read the section below on why. This package contains the source code needed for building packages that reference the following Go import paths – github.com/bugsnag/panicwrap

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

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

sudo dnf -y install golang-github-bugsnag-panicwrap-devel

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

sudo yum -y install golang-github-bugsnag-panicwrap-devel

How To Uninstall golang-github-bugsnag-panicwrap-devel on Fedora 36

To uninstall only the golang-github-bugsnag-panicwrap-devel package we can use the following command:

sudo dnf remove golang-github-bugsnag-panicwrap-devel

golang-github-bugsnag-panicwrap-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-bugsnag-panicwrap-devel
/usr/share/doc/golang-github-bugsnag-panicwrap-devel/CHANGELOG.md
/usr/share/doc/golang-github-bugsnag-panicwrap-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/bugsnag
/usr/share/gocode/src/github.com/bugsnag/panicwrap
/usr/share/gocode/src/github.com/bugsnag/panicwrap/.goipath
/usr/share/gocode/src/github.com/bugsnag/panicwrap/CHANGELOG.md
/usr/share/gocode/src/github.com/bugsnag/panicwrap/README.md
/usr/share/gocode/src/github.com/bugsnag/panicwrap/dup2.go
/usr/share/gocode/src/github.com/bugsnag/panicwrap/dup3.go
/usr/share/gocode/src/github.com/bugsnag/panicwrap/exec.go
/usr/share/gocode/src/github.com/bugsnag/panicwrap/exec_old.go
/usr/share/gocode/src/github.com/bugsnag/panicwrap/glide.lock
/usr/share/gocode/src/github.com/bugsnag/panicwrap/glide.yaml
/usr/share/gocode/src/github.com/bugsnag/panicwrap/issue_template.md
/usr/share/gocode/src/github.com/bugsnag/panicwrap/monitor.go
/usr/share/gocode/src/github.com/bugsnag/panicwrap/monitor_windows.go
/usr/share/gocode/src/github.com/bugsnag/panicwrap/panicwrap.go
/usr/share/gocode/src/github.com/bugsnag/panicwrap/panicwrap_monitor_test.go
/usr/share/gocode/src/github.com/bugsnag/panicwrap/panicwrap_test.go
/usr/share/gocode/src/github.com/bugsnag/panicwrap/signal_notunix.go
/usr/share/gocode/src/github.com/bugsnag/panicwrap/signal_unix.go
/usr/share/licenses/golang-github-bugsnag-panicwrap-devel
/usr/share/licenses/golang-github-bugsnag-panicwrap-devel/LICENSE

References

Summary

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