How To Install golang-github-petermattis-goid-devel on Fedora 36

In this tutorial we learn how to install golang-github-petermattis-goid-devel in Fedora 36. golang-github-petermattis-goid-devel is Programatically retrieve the current goroutine’s ID

Introduction

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

What is golang-github-petermattis-goid-devel

Programatically retrieve the current goroutine’s ID. This package contains the source code needed for building packages that reference the following Go import paths – github.com/petermattis/goid

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

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

sudo dnf -y install golang-github-petermattis-goid-devel

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

sudo yum -y install golang-github-petermattis-goid-devel

How To Uninstall golang-github-petermattis-goid-devel on Fedora 36

To uninstall only the golang-github-petermattis-goid-devel package we can use the following command:

sudo dnf remove golang-github-petermattis-goid-devel

golang-github-petermattis-goid-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-petermattis-goid-devel
/usr/share/doc/golang-github-petermattis-goid-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/petermattis
/usr/share/gocode/src/github.com/petermattis/goid
/usr/share/gocode/src/github.com/petermattis/goid/.goipath
/usr/share/gocode/src/github.com/petermattis/goid/README.md
/usr/share/gocode/src/github.com/petermattis/goid/goid.go
/usr/share/gocode/src/github.com/petermattis/goid/goid_gccgo.go
/usr/share/gocode/src/github.com/petermattis/goid/goid_go1.3.go
/usr/share/gocode/src/github.com/petermattis/goid/goid_go1.4.go
/usr/share/gocode/src/github.com/petermattis/goid/goid_go1.4.s
/usr/share/gocode/src/github.com/petermattis/goid/goid_go1.5_amd64.go
/usr/share/gocode/src/github.com/petermattis/goid/goid_go1.5_amd64.s
/usr/share/gocode/src/github.com/petermattis/goid/goid_go1.5_arm.go
/usr/share/gocode/src/github.com/petermattis/goid/goid_go1.5_arm.s
/usr/share/gocode/src/github.com/petermattis/goid/goid_slow.go
/usr/share/gocode/src/github.com/petermattis/goid/goid_test.go
/usr/share/gocode/src/github.com/petermattis/goid/runtime_gccgo_go1.8.go
/usr/share/gocode/src/github.com/petermattis/goid/runtime_go1.5.go
/usr/share/gocode/src/github.com/petermattis/goid/runtime_go1.6.go
/usr/share/gocode/src/github.com/petermattis/goid/runtime_go1.9.go
/usr/share/licenses/golang-github-petermattis-goid-devel
/usr/share/licenses/golang-github-petermattis-goid-devel/LICENSE

References

Summary

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