How To Install golang-github-bouk-httprouter-devel on Fedora 36

In this tutorial we learn how to install golang-github-bouk-httprouter-devel in Fedora 36. golang-github-bouk-httprouter-devel is Lightweight high performance HTTP request router for Go

Introduction

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

What is golang-github-bouk-httprouter-devel

HttpRouter is a lightweight high performance HTTP request router (also called multiplexer or just mux for short) for Go. In contrast to the [default mux][http.ServeMux] of Go’s net/http package, this router supports variables in the routing pattern and matches against the request method. It also scales better. The router is optimized for high performance and a small memory footprint. It scales well even with very long paths and a large number of routes. A compressing dynamic trie (radix tree) structure is used for efficient matching. This package contains the source code needed for building packages that reference the following Go import paths – github.com/bouk/httprouter

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

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

sudo dnf -y install golang-github-bouk-httprouter-devel

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

sudo yum -y install golang-github-bouk-httprouter-devel

How To Uninstall golang-github-bouk-httprouter-devel on Fedora 36

To uninstall only the golang-github-bouk-httprouter-devel package we can use the following command:

sudo dnf remove golang-github-bouk-httprouter-devel

golang-github-bouk-httprouter-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-bouk-httprouter-devel
/usr/share/doc/golang-github-bouk-httprouter-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/bouk
/usr/share/gocode/src/github.com/bouk/httprouter
/usr/share/gocode/src/github.com/bouk/httprouter/.goipath
/usr/share/gocode/src/github.com/bouk/httprouter/README.md
/usr/share/gocode/src/github.com/bouk/httprouter/params.go
/usr/share/gocode/src/github.com/bouk/httprouter/params_test.go
/usr/share/gocode/src/github.com/bouk/httprouter/path.go
/usr/share/gocode/src/github.com/bouk/httprouter/path_test.go
/usr/share/gocode/src/github.com/bouk/httprouter/router.go
/usr/share/gocode/src/github.com/bouk/httprouter/router_test.go
/usr/share/gocode/src/github.com/bouk/httprouter/tree.go
/usr/share/gocode/src/github.com/bouk/httprouter/tree_test.go
/usr/share/licenses/golang-github-bouk-httprouter-devel
/usr/share/licenses/golang-github-bouk-httprouter-devel/LICENSE

References

Summary

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