How To Install golang-github-errors-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-errors-devel
on Fedora 36.
What is golang-github-errors-devel
Package Errors adds stacktrace support to errors in Go. This is particularly useful when you want to understand the state of execution when an error was returned unexpectedly. It provides the type *Error which implements the standard golang error interface, so you can use this library interchangably with code that is expecting a normal error return. This package contains the source code needed for building packages that reference the following Go import paths – github.com/go-errors/errors
We can use yum
or dnf
to install golang-github-errors-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-errors-devel.
Install golang-github-errors-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-errors-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-errors-devel
Install golang-github-errors-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-errors-devel
using yum
by running the following command:
sudo yum -y install golang-github-errors-devel
How To Uninstall golang-github-errors-devel on Fedora 36
To uninstall only the golang-github-errors-devel
package we can use the following command:
sudo dnf remove golang-github-errors-devel
golang-github-errors-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-errors-devel
/usr/share/doc/golang-github-errors-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/go-errors
/usr/share/gocode/src/github.com/go-errors/errors
/usr/share/gocode/src/github.com/go-errors/errors/.goipath
/usr/share/gocode/src/github.com/go-errors/errors/README.md
/usr/share/gocode/src/github.com/go-errors/errors/error.go
/usr/share/gocode/src/github.com/go-errors/errors/error_1_13.go
/usr/share/gocode/src/github.com/go-errors/errors/error_1_13_test.go
/usr/share/gocode/src/github.com/go-errors/errors/error_backward.go
/usr/share/gocode/src/github.com/go-errors/errors/error_test.go
/usr/share/gocode/src/github.com/go-errors/errors/go.mod
/usr/share/gocode/src/github.com/go-errors/errors/parse_panic.go
/usr/share/gocode/src/github.com/go-errors/errors/parse_panic_test.go
/usr/share/gocode/src/github.com/go-errors/errors/stackframe.go
/usr/share/licenses/golang-github-errors-devel
/usr/share/licenses/golang-github-errors-devel/LICENSE.MIT
References
Summary
In this tutorial we learn how to install golang-github-errors-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).