How To Install golang-github-benbjohnson-immutable-devel on Fedora 36

In this tutorial we learn how to install golang-github-benbjohnson-immutable-devel in Fedora 36. golang-github-benbjohnson-immutable-devel is Immutable collections for Go

Introduction

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

What is golang-github-benbjohnson-immutable-devel

This repository contains immutable collection types for Go. It includes List, Map, and SortedMap implementations. Immutable collections can provide efficient, lock free sharing of data by requiring that edits to the collections return new collections. The collection types in this library are meant to mimic Go built-in collections such asslice and map. The primary usage difference between Go collections and immutable collections is that immutable collections always return a new collection on mutation so you will need to save the new reference. Immutable collections are not for every situation, however, as they can incur additional CPU and memory overhead. Please evaluate the cost/benefit for your particular project. This package contains the source code needed for building packages that reference the following Go import paths – github.com/benbjohnson/immutable

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

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

sudo dnf -y install golang-github-benbjohnson-immutable-devel

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

sudo yum -y install golang-github-benbjohnson-immutable-devel

How To Uninstall golang-github-benbjohnson-immutable-devel on Fedora 36

To uninstall only the golang-github-benbjohnson-immutable-devel package we can use the following command:

sudo dnf remove golang-github-benbjohnson-immutable-devel

golang-github-benbjohnson-immutable-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-benbjohnson-immutable-devel
/usr/share/doc/golang-github-benbjohnson-immutable-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/benbjohnson
/usr/share/gocode/src/github.com/benbjohnson/immutable
/usr/share/gocode/src/github.com/benbjohnson/immutable/.goipath
/usr/share/gocode/src/github.com/benbjohnson/immutable/README.md
/usr/share/gocode/src/github.com/benbjohnson/immutable/go.mod
/usr/share/gocode/src/github.com/benbjohnson/immutable/immutable.go
/usr/share/gocode/src/github.com/benbjohnson/immutable/immutable_test.go
/usr/share/licenses/golang-github-benbjohnson-immutable-devel
/usr/share/licenses/golang-github-benbjohnson-immutable-devel/LICENSE

References

Summary

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