How To Install golang-github-gorilla-mux-devel on Fedora 36

In this tutorial we learn how to install golang-github-gorilla-mux-devel in Fedora 36. golang-github-gorilla-mux-devel is A powerful url router and dispatcher for golang

Introduction

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

What is golang-github-gorilla-mux-devel

Package gorilla/mux implements a request router and dispatcher for matching incoming requests to their respective handler. The name mux stands for “HTTP request multiplexer”. Like the standard http.ServeMux, mux.Router matches incoming requests against a list of registered routes and calls a handler for the route that matches the URL or other conditions. The main features are – It implements the http.Handler interface so it is compatible with the standard http.ServeMux. – Requests can be matched based on URL host, path, path prefix, schemes, header and query values, HTTP methods or using custom matchers. – URL hosts, paths and query values can have variables with an optional regular expression. – Registered URLs can be built, or “reversed”, which helps maintaining references to resources. – Routes can be used as subrouters parent route matches. This is useful to define groups of routes that share common conditions like a host, a path prefix or other repeated attributes. As a bonus, this optimizes request matching. This package contains the source code needed for building packages that reference the following Go import paths – github.com/gorilla/mux

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

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

sudo dnf -y install golang-github-gorilla-mux-devel

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

sudo yum -y install golang-github-gorilla-mux-devel

How To Uninstall golang-github-gorilla-mux-devel on Fedora 36

To uninstall only the golang-github-gorilla-mux-devel package we can use the following command:

sudo dnf remove golang-github-gorilla-mux-devel

golang-github-gorilla-mux-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-gorilla-mux-devel
/usr/share/doc/golang-github-gorilla-mux-devel/AUTHORS
/usr/share/doc/golang-github-gorilla-mux-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/gorilla
/usr/share/gocode/src/github.com/gorilla/mux
/usr/share/gocode/src/github.com/gorilla/mux/.goipath
/usr/share/gocode/src/github.com/gorilla/mux/README.md
/usr/share/gocode/src/github.com/gorilla/mux/bench_test.go
/usr/share/gocode/src/github.com/gorilla/mux/doc.go
/usr/share/gocode/src/github.com/gorilla/mux/example_authentication_middleware_test.go
/usr/share/gocode/src/github.com/gorilla/mux/example_cors_method_middleware_test.go
/usr/share/gocode/src/github.com/gorilla/mux/example_route_test.go
/usr/share/gocode/src/github.com/gorilla/mux/glide.lock
/usr/share/gocode/src/github.com/gorilla/mux/glide.yaml
/usr/share/gocode/src/github.com/gorilla/mux/go.mod
/usr/share/gocode/src/github.com/gorilla/mux/middleware.go
/usr/share/gocode/src/github.com/gorilla/mux/middleware_test.go
/usr/share/gocode/src/github.com/gorilla/mux/mux.go
/usr/share/gocode/src/github.com/gorilla/mux/mux_httpserver_test.go
/usr/share/gocode/src/github.com/gorilla/mux/mux_test.go
/usr/share/gocode/src/github.com/gorilla/mux/old_test.go
/usr/share/gocode/src/github.com/gorilla/mux/regexp.go
/usr/share/gocode/src/github.com/gorilla/mux/regexp_test.go
/usr/share/gocode/src/github.com/gorilla/mux/route.go
/usr/share/gocode/src/github.com/gorilla/mux/test_helpers.go
/usr/share/licenses/golang-github-gorilla-mux-devel
/usr/share/licenses/golang-github-gorilla-mux-devel/LICENSE

References

Summary

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