How To Install golang-modernc-b-devel on Fedora 36

In this tutorial we learn how to install golang-modernc-b-devel in Fedora 36. golang-modernc-b-devel is B+tree in Go

Introduction

In this tutorial we learn how to install golang-modernc-b-devel on Fedora 36.

What is golang-modernc-b-devel

Package b implements a B+tree. This package contains the source code needed for building packages that reference the following Go import paths – modernc.org/b

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

Install golang-modernc-b-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-modernc-b-devel using dnf by running the following command:

sudo dnf -y install golang-modernc-b-devel

Install golang-modernc-b-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-modernc-b-devel using yum by running the following command:

sudo yum -y install golang-modernc-b-devel

How To Uninstall golang-modernc-b-devel on Fedora 36

To uninstall only the golang-modernc-b-devel package we can use the following command:

sudo dnf remove golang-modernc-b-devel

golang-modernc-b-devel Package Contents on Fedora 36

/usr/share/doc/golang-modernc-b-devel
/usr/share/doc/golang-modernc-b-devel/AUTHORS
/usr/share/doc/golang-modernc-b-devel/CONTRIBUTORS
/usr/share/doc/golang-modernc-b-devel/README.md
/usr/share/doc/golang-modernc-b-devel/example
/usr/share/doc/golang-modernc-b-devel/example/Makefile
/usr/share/doc/golang-modernc-b-devel/example/all_test.go
/usr/share/doc/golang-modernc-b-devel/example/int.go
/usr/share/gocode/src/modernc.org
/usr/share/gocode/src/modernc.org/b
/usr/share/gocode/src/modernc.org/b/.goipath
/usr/share/gocode/src/modernc.org/b/README.md
/usr/share/gocode/src/modernc.org/b/all_test.go
/usr/share/gocode/src/modernc.org/b/btree.go
/usr/share/gocode/src/modernc.org/b/doc.go
/usr/share/gocode/src/modernc.org/b/go.mod
/usr/share/gocode/src/modernc.org/b/inst.go
/usr/share/gocode/src/modernc.org/b/nop_inst.go
/usr/share/licenses/golang-modernc-b-devel
/usr/share/licenses/golang-modernc-b-devel/LICENSE

References

Summary

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