How To Install golang-gopkg-tomb-1-devel on Fedora 36

In this tutorial we learn how to install golang-gopkg-tomb-1-devel in Fedora 36. golang-gopkg-tomb-1-devel is Clean goroutine termination in the Go language

Introduction

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

What is golang-gopkg-tomb-1-devel

The Tomb package handles clean goroutine tracking and termination. This package contains the source code needed for building packages that reference the following Go import paths – gopkg.in/tomb.v1

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

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

sudo dnf -y install golang-gopkg-tomb-1-devel

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

sudo yum -y install golang-gopkg-tomb-1-devel

How To Uninstall golang-gopkg-tomb-1-devel on Fedora 36

To uninstall only the golang-gopkg-tomb-1-devel package we can use the following command:

sudo dnf remove golang-gopkg-tomb-1-devel

golang-gopkg-tomb-1-devel Package Contents on Fedora 36

/usr/share/doc/golang-gopkg-tomb-1-devel
/usr/share/doc/golang-gopkg-tomb-1-devel/README.md
/usr/share/gocode/src/gopkg.in
/usr/share/gocode/src/gopkg.in/tomb.v1
/usr/share/gocode/src/gopkg.in/tomb.v1/.goipath
/usr/share/gocode/src/gopkg.in/tomb.v1/README.md
/usr/share/gocode/src/gopkg.in/tomb.v1/tomb.go
/usr/share/gocode/src/gopkg.in/tomb.v1/tomb_test.go
/usr/share/licenses/golang-gopkg-tomb-1-devel
/usr/share/licenses/golang-gopkg-tomb-1-devel/LICENSE

References

Summary

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