How To Install golang-github-valyala-fasthttp on Fedora 36

In this tutorial we learn how to install golang-github-valyala-fasthttp in Fedora 36. golang-github-valyala-fasthttp is Fast HTTP package

Introduction

In this tutorial we learn how to install golang-github-valyala-fasthttp on Fedora 36.

What is golang-github-valyala-fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http.

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

Install golang-github-valyala-fasthttp 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-valyala-fasthttp using dnf by running the following command:

sudo dnf -y install golang-github-valyala-fasthttp

Install golang-github-valyala-fasthttp 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-valyala-fasthttp using yum by running the following command:

sudo yum -y install golang-github-valyala-fasthttp

How To Uninstall golang-github-valyala-fasthttp on Fedora 36

To uninstall only the golang-github-valyala-fasthttp package we can use the following command:

sudo dnf remove golang-github-valyala-fasthttp

golang-github-valyala-fasthttp Package Contents on Fedora 36

/usr/bin/fasthttp
/usr/share/doc/golang-github-valyala-fasthttp
/usr/share/doc/golang-github-valyala-fasthttp/README-prefork.md
/usr/share/doc/golang-github-valyala-fasthttp/README.md
/usr/share/doc/golang-github-valyala-fasthttp/SECURITY.md
/usr/share/doc/golang-github-valyala-fasthttp/TODO
/usr/share/doc/golang-github-valyala-fasthttp/examples
/usr/share/doc/golang-github-valyala-fasthttp/examples/README.md
/usr/share/doc/golang-github-valyala-fasthttp/examples/fileserver
/usr/share/doc/golang-github-valyala-fasthttp/examples/fileserver/.gitignore
/usr/share/doc/golang-github-valyala-fasthttp/examples/fileserver/Makefile
/usr/share/doc/golang-github-valyala-fasthttp/examples/fileserver/README.md
/usr/share/doc/golang-github-valyala-fasthttp/examples/fileserver/fileserver.go
/usr/share/doc/golang-github-valyala-fasthttp/examples/fileserver/ssl-cert-snakeoil.key
/usr/share/doc/golang-github-valyala-fasthttp/examples/fileserver/ssl-cert-snakeoil.pem
/usr/share/doc/golang-github-valyala-fasthttp/examples/helloworldserver
/usr/share/doc/golang-github-valyala-fasthttp/examples/helloworldserver/.gitignore
/usr/share/doc/golang-github-valyala-fasthttp/examples/helloworldserver/Makefile
/usr/share/doc/golang-github-valyala-fasthttp/examples/helloworldserver/README.md
/usr/share/doc/golang-github-valyala-fasthttp/examples/helloworldserver/helloworldserver.go
/usr/share/doc/golang-github-valyala-fasthttp/examples/letsencrypt
/usr/share/doc/golang-github-valyala-fasthttp/examples/letsencrypt/letsencryptserver.go
/usr/share/doc/golang-github-valyala-fasthttp/examples/multidomain
/usr/share/doc/golang-github-valyala-fasthttp/examples/multidomain/Makefile
/usr/share/doc/golang-github-valyala-fasthttp/examples/multidomain/README.md
/usr/share/doc/golang-github-valyala-fasthttp/examples/multidomain/multidomain.go
/usr/share/licenses/golang-github-valyala-fasthttp
/usr/share/licenses/golang-github-valyala-fasthttp/LICENSE
/usr/share/licenses/golang-github-valyala-fasthttp/LICENSE-reuseport

References

Summary

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