How To Install golang-github-oklog-run-devel on Fedora 36

In this tutorial we learn how to install golang-github-oklog-run-devel in Fedora 36. golang-github-oklog-run-devel is Universal mechanism to manage goroutine lifecycles

Introduction

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

What is golang-github-oklog-run-devel

run.Group is a universal mechanism to manage goroutine lifecycles. Create a zero-value run.Group, and then add actors to it. Actors are defined as a pair of functions interrupt function, which, when invoked, should cause the execute function to return. Finally, invoke Run, which concurrently runs all of the actors, waits until the first actor exits, invokes the interrupt functions, and finally returns control to the caller only once all actors have returned. This general-purpose API allows callers to model pretty much any runnable task, and achieve well-defined lifecycle semantics for the group. This package contains the source code needed for building packages that reference the following Go import paths – github.com/oklog/run

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

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

sudo dnf -y install golang-github-oklog-run-devel

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

sudo yum -y install golang-github-oklog-run-devel

How To Uninstall golang-github-oklog-run-devel on Fedora 36

To uninstall only the golang-github-oklog-run-devel package we can use the following command:

sudo dnf remove golang-github-oklog-run-devel

golang-github-oklog-run-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-oklog-run-devel
/usr/share/doc/golang-github-oklog-run-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/oklog
/usr/share/gocode/src/github.com/oklog/run
/usr/share/gocode/src/github.com/oklog/run/.goipath
/usr/share/gocode/src/github.com/oklog/run/README.md
/usr/share/gocode/src/github.com/oklog/run/actors.go
/usr/share/gocode/src/github.com/oklog/run/example_test.go
/usr/share/gocode/src/github.com/oklog/run/go.mod
/usr/share/gocode/src/github.com/oklog/run/group.go
/usr/share/gocode/src/github.com/oklog/run/group_test.go
/usr/share/licenses/golang-github-oklog-run-devel
/usr/share/licenses/golang-github-oklog-run-devel/LICENSE

References

Summary

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