How To Install golang-github-deckarep-set-devel on Fedora 36

In this tutorial we learn how to install golang-github-deckarep-set-devel in Fedora 36. golang-github-deckarep-set-devel is Simple set type for the Go language

Introduction

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

What is golang-github-deckarep-set-devel

Package Mapset implements a simple and generic set collection. Items stored within it are unordered and unique. It supports typical set operations membership testing, intersection, union, difference, symmetric difference and cloning. Package Mapset provides two implementations of the Set interface. The default implementation is safe for concurrent access, but a non-thread-safe implementation is also provided for programs that can benefit from the slight speed improvement and that can enforce mutual exclusion through other means. This package contains the source code needed for building packages that reference the following Go import paths – github.com/deckarep/golang-set

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

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

sudo dnf -y install golang-github-deckarep-set-devel

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

sudo yum -y install golang-github-deckarep-set-devel

How To Uninstall golang-github-deckarep-set-devel on Fedora 36

To uninstall only the golang-github-deckarep-set-devel package we can use the following command:

sudo dnf remove golang-github-deckarep-set-devel

golang-github-deckarep-set-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-deckarep-set-devel
/usr/share/doc/golang-github-deckarep-set-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/deckarep
/usr/share/gocode/src/github.com/deckarep/golang-set
/usr/share/gocode/src/github.com/deckarep/golang-set/.goipath
/usr/share/gocode/src/github.com/deckarep/golang-set/README.md
/usr/share/gocode/src/github.com/deckarep/golang-set/bench_test.go
/usr/share/gocode/src/github.com/deckarep/golang-set/iterator.go
/usr/share/gocode/src/github.com/deckarep/golang-set/iterator_example_test.go
/usr/share/gocode/src/github.com/deckarep/golang-set/set.go
/usr/share/gocode/src/github.com/deckarep/golang-set/set_test.go
/usr/share/gocode/src/github.com/deckarep/golang-set/threadsafe.go
/usr/share/gocode/src/github.com/deckarep/golang-set/threadsafe_test.go
/usr/share/gocode/src/github.com/deckarep/golang-set/threadunsafe.go
/usr/share/licenses/golang-github-deckarep-set-devel
/usr/share/licenses/golang-github-deckarep-set-devel/LICENSE

References

Summary

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