How To Install compat-golang-gopkg-2-tomb-devel on Fedora 36

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

Introduction

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

What is compat-golang-gopkg-2-tomb-devel

The Tomb package handles clean goroutine tracking and termination. This package provides symbolic links that alias the following Go import paths to gopkg.in/tomb.v2 – gopkg.in/v2/tomb Aliasing Go import paths via symbolic links or http redirects is fragile. If your Go code depends on this package, you should patch it to import directly gopkg.in/tomb.v2.

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

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

sudo dnf -y install compat-golang-gopkg-2-tomb-devel

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

sudo yum -y install compat-golang-gopkg-2-tomb-devel

How To Uninstall compat-golang-gopkg-2-tomb-devel on Fedora 36

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

sudo dnf remove compat-golang-gopkg-2-tomb-devel

compat-golang-gopkg-2-tomb-devel Package Contents on Fedora 36

/usr/share/gocode/src/gopkg.in/v2
/usr/share/gocode/src/gopkg.in/v2/tomb

References

Summary

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