How To Install golang-github-nats-io-devel on Fedora 36

In this tutorial we learn how to install golang-github-nats-io-devel in Fedora 36. golang-github-nats-io-devel is Golang client for NATS, the cloud native messaging system

Introduction

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

What is golang-github-nats-io-devel

A Go client for the NATS messaging system. This package contains the source code needed for building packages that reference the following Go import paths – github.com/nats-io/nats.go

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

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

sudo dnf -y install golang-github-nats-io-devel

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

sudo yum -y install golang-github-nats-io-devel

How To Uninstall golang-github-nats-io-devel on Fedora 36

To uninstall only the golang-github-nats-io-devel package we can use the following command:

sudo dnf remove golang-github-nats-io-devel

golang-github-nats-io-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-nats-io-devel
/usr/share/doc/golang-github-nats-io-devel/GOVERNANCE.md
/usr/share/doc/golang-github-nats-io-devel/MAINTAINERS.md
/usr/share/doc/golang-github-nats-io-devel/README.md
/usr/share/doc/golang-github-nats-io-devel/TODO.md
/usr/share/doc/golang-github-nats-io-devel/examples
/usr/share/doc/golang-github-nats-io-devel/examples/nats-bench
/usr/share/doc/golang-github-nats-io-devel/examples/nats-bench/main.go
/usr/share/doc/golang-github-nats-io-devel/examples/nats-echo
/usr/share/doc/golang-github-nats-io-devel/examples/nats-echo/main.go
/usr/share/doc/golang-github-nats-io-devel/examples/nats-pub
/usr/share/doc/golang-github-nats-io-devel/examples/nats-pub/main.go
/usr/share/doc/golang-github-nats-io-devel/examples/nats-qsub
/usr/share/doc/golang-github-nats-io-devel/examples/nats-qsub/main.go
/usr/share/doc/golang-github-nats-io-devel/examples/nats-req
/usr/share/doc/golang-github-nats-io-devel/examples/nats-req/main.go
/usr/share/doc/golang-github-nats-io-devel/examples/nats-rply
/usr/share/doc/golang-github-nats-io-devel/examples/nats-rply/main.go
/usr/share/doc/golang-github-nats-io-devel/examples/nats-sub
/usr/share/doc/golang-github-nats-io-devel/examples/nats-sub/main.go
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/nats-io
/usr/share/gocode/src/github.com/nats-io/nats.go
/usr/share/gocode/src/github.com/nats-io/nats.go/.goipath
/usr/share/gocode/src/github.com/nats-io/nats.go/CODE-OF-CONDUCT.md
/usr/share/gocode/src/github.com/nats-io/nats.go/GOVERNANCE.md
/usr/share/gocode/src/github.com/nats-io/nats.go/MAINTAINERS.md
/usr/share/gocode/src/github.com/nats-io/nats.go/README.md
/usr/share/gocode/src/github.com/nats-io/nats.go/TODO.md
/usr/share/gocode/src/github.com/nats-io/nats.go/bench
/usr/share/gocode/src/github.com/nats-io/nats.go/bench/bench.go
/usr/share/gocode/src/github.com/nats-io/nats.go/bench/benchlib_test.go
/usr/share/gocode/src/github.com/nats-io/nats.go/context.go
/usr/share/gocode/src/github.com/nats-io/nats.go/enc.go
/usr/share/gocode/src/github.com/nats-io/nats.go/enc_test.go
/usr/share/gocode/src/github.com/nats-io/nats.go/encoders
/usr/share/gocode/src/github.com/nats-io/nats.go/encoders/builtin
/usr/share/gocode/src/github.com/nats-io/nats.go/encoders/builtin/default_enc.go
/usr/share/gocode/src/github.com/nats-io/nats.go/encoders/builtin/gob_enc.go
/usr/share/gocode/src/github.com/nats-io/nats.go/encoders/builtin/json_enc.go
/usr/share/gocode/src/github.com/nats-io/nats.go/encoders/protobuf
/usr/share/gocode/src/github.com/nats-io/nats.go/encoders/protobuf/protobuf_enc.go
/usr/share/gocode/src/github.com/nats-io/nats.go/example_test.go
/usr/share/gocode/src/github.com/nats-io/nats.go/go.mod
/usr/share/gocode/src/github.com/nats-io/nats.go/nats.go
/usr/share/gocode/src/github.com/nats-io/nats.go/nats_test.go
/usr/share/gocode/src/github.com/nats-io/nats.go/netchan.go
/usr/share/gocode/src/github.com/nats-io/nats.go/norace_test.go
/usr/share/gocode/src/github.com/nats-io/nats.go/parser.go
/usr/share/gocode/src/github.com/nats-io/nats.go/timer.go
/usr/share/gocode/src/github.com/nats-io/nats.go/timer_test.go
/usr/share/gocode/src/github.com/nats-io/nats.go/util
/usr/share/gocode/src/github.com/nats-io/nats.go/util/tls.go
/usr/share/gocode/src/github.com/nats-io/nats.go/util/tls_go17.go
/usr/share/licenses/golang-github-nats-io-devel
/usr/share/licenses/golang-github-nats-io-devel/LICENSE

References

Summary

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