How To Install golang-github-rs-cors-devel on Fedora 36

In this tutorial we learn how to install golang-github-rs-cors-devel in Fedora 36. golang-github-rs-cors-devel is Go net/http configurable handler to handle CORS requests

Introduction

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

What is golang-github-rs-cors-devel

CORS is a net/http handler implementing Cross Origin Resource Sharing W3 specification in Golang. This package contains the source code needed for building packages that reference the following Go import paths – github.com/rs/cors

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

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

sudo dnf -y install golang-github-rs-cors-devel

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

sudo yum -y install golang-github-rs-cors-devel

How To Uninstall golang-github-rs-cors-devel on Fedora 36

To uninstall only the golang-github-rs-cors-devel package we can use the following command:

sudo dnf remove golang-github-rs-cors-devel

golang-github-rs-cors-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-rs-cors-devel
/usr/share/doc/golang-github-rs-cors-devel/README.md
/usr/share/doc/golang-github-rs-cors-devel/examples
/usr/share/doc/golang-github-rs-cors-devel/examples/alice
/usr/share/doc/golang-github-rs-cors-devel/examples/alice/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/buffalo
/usr/share/doc/golang-github-rs-cors-devel/examples/buffalo/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/chi
/usr/share/doc/golang-github-rs-cors-devel/examples/chi/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/default
/usr/share/doc/golang-github-rs-cors-devel/examples/default/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/gin
/usr/share/doc/golang-github-rs-cors-devel/examples/gin/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/goji
/usr/share/doc/golang-github-rs-cors-devel/examples/goji/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/gorilla
/usr/share/doc/golang-github-rs-cors-devel/examples/gorilla/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/httprouter
/usr/share/doc/golang-github-rs-cors-devel/examples/httprouter/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/martini
/usr/share/doc/golang-github-rs-cors-devel/examples/martini/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/negroni
/usr/share/doc/golang-github-rs-cors-devel/examples/negroni/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/nethttp
/usr/share/doc/golang-github-rs-cors-devel/examples/nethttp/server.go
/usr/share/doc/golang-github-rs-cors-devel/examples/openbar
/usr/share/doc/golang-github-rs-cors-devel/examples/openbar/server.go
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/rs
/usr/share/gocode/src/github.com/rs/cors
/usr/share/gocode/src/github.com/rs/cors/.goipath
/usr/share/gocode/src/github.com/rs/cors/README.md
/usr/share/gocode/src/github.com/rs/cors/bench_test.go
/usr/share/gocode/src/github.com/rs/cors/cors.go
/usr/share/gocode/src/github.com/rs/cors/cors_test.go
/usr/share/gocode/src/github.com/rs/cors/go.mod
/usr/share/gocode/src/github.com/rs/cors/utils.go
/usr/share/gocode/src/github.com/rs/cors/utils_test.go
/usr/share/gocode/src/github.com/rs/cors/wrapper
/usr/share/gocode/src/github.com/rs/cors/wrapper/gin
/usr/share/gocode/src/github.com/rs/cors/wrapper/gin/gin.go
/usr/share/gocode/src/github.com/rs/cors/wrapper/gin/gin_test.go
/usr/share/licenses/golang-github-rs-cors-devel
/usr/share/licenses/golang-github-rs-cors-devel/LICENSE

References

Summary

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