How To Install golang-github-gorilla-mux-devel.noarch on Amazon Linux 2

In this tutorial we learn how to install golang-github-gorilla-mux-devel.noarch in Amazon Linux 2. golang-github-gorilla-mux-devel.noarch is A powerful URL router and dispatcher for golang

Introduction

In this tutorial we learn how to install golang-github-gorilla-mux-devel.noarch on Amazon Linux 2.

What is golang-github-gorilla-mux-devel.noarch

Package gorilla/mux implements a request router and dispatcher. 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. This package contains library source intended for building other packages which use gorilla/mux.

We can use yum to install golang-github-gorilla-mux-devel.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-gorilla-mux-devel.noarch.

Install golang-github-gorilla-mux-devel.noarch on Amazon Linux 2 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.noarch using yum by running the following command:

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

How To Uninstall golang-github-gorilla-mux-devel.noarch on Amazon Linux 2

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

sudo yum remove golang-github-gorilla-mux-devel.noarch

golang-github-gorilla-mux-devel.noarch Package Contents on Amazon Linux 2

/usr/share/doc/golang-github-gorilla-mux-devel-0
/usr/share/doc/golang-github-gorilla-mux-devel-0/LICENSE
/usr/share/doc/golang-github-gorilla-mux-devel-0/README.md
/usr/share/gocode/src/github.com/gorilla
/usr/share/gocode/src/github.com/gorilla/mux
/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/mux.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/route.go

References

Summary

In this tutorial we learn how to install golang-github-gorilla-mux-devel.noarch on Amazon Linux 2 using yum.