How To Install golang-x-xerrors-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-x-xerrors-devel
on Fedora 36.
What is golang-x-xerrors-devel
This package holds the transition packages for the new Go 1.13 error values. See golang.org/design/29934-error-values. This package contains the source code needed for building packages that reference the following Go import paths – golang.org/x/xerrors
We can use yum
or dnf
to install golang-x-xerrors-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-x-xerrors-devel.
Install golang-x-xerrors-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-x-xerrors-devel
using dnf
by running the following command:
sudo dnf -y install golang-x-xerrors-devel
Install golang-x-xerrors-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-x-xerrors-devel
using yum
by running the following command:
sudo yum -y install golang-x-xerrors-devel
How To Uninstall golang-x-xerrors-devel on Fedora 36
To uninstall only the golang-x-xerrors-devel
package we can use the following command:
sudo dnf remove golang-x-xerrors-devel
golang-x-xerrors-devel Package Contents on Fedora 36
/usr/share/doc/golang-x-xerrors-devel
/usr/share/doc/golang-x-xerrors-devel/README
/usr/share/gocode/src/golang.org
/usr/share/gocode/src/golang.org/x
/usr/share/gocode/src/golang.org/x/xerrors
/usr/share/gocode/src/golang.org/x/xerrors/.goipath
/usr/share/gocode/src/golang.org/x/xerrors/adaptor.go
/usr/share/gocode/src/golang.org/x/xerrors/doc.go
/usr/share/gocode/src/golang.org/x/xerrors/errors.go
/usr/share/gocode/src/golang.org/x/xerrors/errors_test.go
/usr/share/gocode/src/golang.org/x/xerrors/example_As_test.go
/usr/share/gocode/src/golang.org/x/xerrors/example_FormatError_test.go
/usr/share/gocode/src/golang.org/x/xerrors/example_test.go
/usr/share/gocode/src/golang.org/x/xerrors/fmt.go
/usr/share/gocode/src/golang.org/x/xerrors/fmt_test.go
/usr/share/gocode/src/golang.org/x/xerrors/fmt_unexported_test.go
/usr/share/gocode/src/golang.org/x/xerrors/format.go
/usr/share/gocode/src/golang.org/x/xerrors/frame.go
/usr/share/gocode/src/golang.org/x/xerrors/go.mod
/usr/share/gocode/src/golang.org/x/xerrors/internal
/usr/share/gocode/src/golang.org/x/xerrors/internal/internal.go
/usr/share/gocode/src/golang.org/x/xerrors/stack_test.go
/usr/share/gocode/src/golang.org/x/xerrors/wrap.go
/usr/share/gocode/src/golang.org/x/xerrors/wrap_113_test.go
/usr/share/gocode/src/golang.org/x/xerrors/wrap_test.go
/usr/share/licenses/golang-x-xerrors-devel
/usr/share/licenses/golang-x-xerrors-devel/LICENSE
/usr/share/licenses/golang-x-xerrors-devel/PATENTS
References
Summary
In this tutorial we learn how to install golang-x-xerrors-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).