How To Install golang-github-bep-gitmap-devel on Fedora 36

In this tutorial we learn how to install golang-github-bep-gitmap-devel in Fedora 36. golang-github-bep-gitmap-devel is Create map from filename to info object from revision of a repo

Introduction

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

What is golang-github-bep-gitmap-devel

A fairly fast way to create a map from all the filenames to info objects for a given revision of a Git repo. This library uses os/exec to talk to Git. There are faster ways to do this by using some Go Git-lib or C bindings, but that adds dependencies I really don’t want or need. This package contains the source code needed for building packages that reference the following Go import paths – github.com/bep/gitmap

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

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

sudo dnf -y install golang-github-bep-gitmap-devel

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

sudo yum -y install golang-github-bep-gitmap-devel

How To Uninstall golang-github-bep-gitmap-devel on Fedora 36

To uninstall only the golang-github-bep-gitmap-devel package we can use the following command:

sudo dnf remove golang-github-bep-gitmap-devel

golang-github-bep-gitmap-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-bep-gitmap-devel
/usr/share/doc/golang-github-bep-gitmap-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/bep
/usr/share/gocode/src/github.com/bep/gitmap
/usr/share/gocode/src/github.com/bep/gitmap/.goipath
/usr/share/gocode/src/github.com/bep/gitmap/README.md
/usr/share/gocode/src/github.com/bep/gitmap/gitmap.go
/usr/share/gocode/src/github.com/bep/gitmap/gitmap_test.go
/usr/share/licenses/golang-github-bep-gitmap-devel
/usr/share/licenses/golang-github-bep-gitmap-devel/LICENSE

References

Summary

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