How To Install golang-github-sdboyer-constext-devel on Fedora 36

In this tutorial we learn how to install golang-github-sdboyer-constext-devel in Fedora 36. golang-github-sdboyer-constext-devel is Cons Contexts together as a pair

Introduction

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

What is golang-github-sdboyer-constext-devel

Constext allows you to cons Contexts together as a pair, conjoining them for the purpose of all Context behaviors – If either parent context is canceled, the constext is canceled. The err is set to whatever the err of the parent that was canceled. – If either parent has a deadline, the constext uses that same deadline. If both have a deadline, it uses the sooner/lesser one. – Values from both parents are unioned together. When a key is present in both parent trees, the left (first) context supercedes the right (second). Paired contexts can be recombined using the standard context.With*() functions. This package contains the source code needed for building packages that reference the following Go import paths – github.com/sdboyer/constext

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

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

sudo dnf -y install golang-github-sdboyer-constext-devel

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

sudo yum -y install golang-github-sdboyer-constext-devel

How To Uninstall golang-github-sdboyer-constext-devel on Fedora 36

To uninstall only the golang-github-sdboyer-constext-devel package we can use the following command:

sudo dnf remove golang-github-sdboyer-constext-devel

golang-github-sdboyer-constext-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-sdboyer-constext-devel
/usr/share/doc/golang-github-sdboyer-constext-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/sdboyer
/usr/share/gocode/src/github.com/sdboyer/constext
/usr/share/gocode/src/github.com/sdboyer/constext/.goipath
/usr/share/gocode/src/github.com/sdboyer/constext/README.md
/usr/share/gocode/src/github.com/sdboyer/constext/constext.go
/usr/share/gocode/src/github.com/sdboyer/constext/constext_test.go
/usr/share/licenses/golang-github-sdboyer-constext-devel
/usr/share/licenses/golang-github-sdboyer-constext-devel/LICENSE

References

Summary

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