How To Install golang-github-oschwald-maxminddb-devel on Fedora 36

In this tutorial we learn how to install golang-github-oschwald-maxminddb-devel in Fedora 36. golang-github-oschwald-maxminddb-devel is MaxMind DB Reader for Go

Introduction

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

What is golang-github-oschwald-maxminddb-devel

This is a Go reader for the MaxMind DB format. Although this can be used to read GeoLite2 and GeoIP2 databases, geoip2 provides a higher-level API for doing so. This package contains the source code needed for building packages that reference the following Go import paths – github.com/oschwald/maxminddb-golang

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

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

sudo dnf -y install golang-github-oschwald-maxminddb-devel

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

sudo yum -y install golang-github-oschwald-maxminddb-devel

How To Uninstall golang-github-oschwald-maxminddb-devel on Fedora 36

To uninstall only the golang-github-oschwald-maxminddb-devel package we can use the following command:

sudo dnf remove golang-github-oschwald-maxminddb-devel

golang-github-oschwald-maxminddb-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-oschwald-maxminddb-devel
/usr/share/doc/golang-github-oschwald-maxminddb-devel/MaxMind-DB-spec.md
/usr/share/doc/golang-github-oschwald-maxminddb-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/oschwald
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/.goipath
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/README.md
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/decoder.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/decoder_test.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/deserializer.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/deserializer.go deserializer_test.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/errors.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/example_test.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/go.mod
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/mmap_unix.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/mmap_windows.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/node.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/reader.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/reader_appengine.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/reader_other.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/reader_test.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/test-data
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/test-data/MaxMind-DB-spec.md
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/test-data/README.md
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/test-data/bad-data
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/test-data/bad-data/README.md
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/test-data/test-data
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/test-data/test-data/README.md
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/traverse.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/traverse_test.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/verifier.go
/usr/share/gocode/src/github.com/oschwald/maxminddb-golang/verifier_test.go
/usr/share/licenses/golang-github-oschwald-maxminddb-devel
/usr/share/licenses/golang-github-oschwald-maxminddb-devel/LICENSE
/usr/share/licenses/golang-github-oschwald-maxminddb-devel/LICENSE-test-data

References

Summary

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