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

In this tutorial we learn how to install golang-github-gorilla-handlers-devel in Fedora 36. golang-github-gorilla-handlers-devel is Collection of useful handlers for go’s net/http package

Introduction

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

What is golang-github-gorilla-handlers-devel

Package handlers is a collection of handlers (aka “HTTP middleware”) for use with Go’s net/http package (or any framework supporting http.Handler). The package includes handlers for logging in standardised formats, compressing HTTP responses, validating content types and other useful tools for manipulating requests and responses. This package contains the source code needed for building packages that reference the following Go import paths – github.com/gorilla/handlers

We can use yum or dnf to install golang-github-gorilla-handlers-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-handlers-devel.

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

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

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

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

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

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

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

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

/usr/share/doc/golang-github-gorilla-handlers-devel
/usr/share/doc/golang-github-gorilla-handlers-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/gorilla
/usr/share/gocode/src/github.com/gorilla/handlers
/usr/share/gocode/src/github.com/gorilla/handlers/.goipath
/usr/share/gocode/src/github.com/gorilla/handlers/README.md
/usr/share/gocode/src/github.com/gorilla/handlers/canonical.go
/usr/share/gocode/src/github.com/gorilla/handlers/canonical_test.go
/usr/share/gocode/src/github.com/gorilla/handlers/compress.go
/usr/share/gocode/src/github.com/gorilla/handlers/compress_test.go
/usr/share/gocode/src/github.com/gorilla/handlers/cors.go
/usr/share/gocode/src/github.com/gorilla/handlers/cors_test.go
/usr/share/gocode/src/github.com/gorilla/handlers/doc.go
/usr/share/gocode/src/github.com/gorilla/handlers/glide.lock
/usr/share/gocode/src/github.com/gorilla/handlers/glide.yaml
/usr/share/gocode/src/github.com/gorilla/handlers/go.mod
/usr/share/gocode/src/github.com/gorilla/handlers/handlers.go
/usr/share/gocode/src/github.com/gorilla/handlers/handlers_go18_test.go
/usr/share/gocode/src/github.com/gorilla/handlers/handlers_test.go
/usr/share/gocode/src/github.com/gorilla/handlers/logging.go
/usr/share/gocode/src/github.com/gorilla/handlers/logging_test.go
/usr/share/gocode/src/github.com/gorilla/handlers/proxy_headers.go
/usr/share/gocode/src/github.com/gorilla/handlers/proxy_headers_test.go
/usr/share/gocode/src/github.com/gorilla/handlers/recovery.go
/usr/share/gocode/src/github.com/gorilla/handlers/recovery_test.go
/usr/share/licenses/golang-github-gorilla-handlers-devel
/usr/share/licenses/golang-github-gorilla-handlers-devel/LICENSE

References

Summary

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