How To Install golang-github-gregjones-httpcache-devel on Fedora 36

In this tutorial we learn how to install golang-github-gregjones-httpcache-devel in Fedora 36. golang-github-gregjones-httpcache-devel is Transport for http.Client that will cache responses according to the HTTP RFC

Introduction

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

What is golang-github-gregjones-httpcache-devel

Package httpcache provides a http.RoundTripper implementation that works as a mostly RFC 7234 compliant cache for http responses. This package contains the source code needed for building packages that reference the following Go import paths – github.com/gregjones/httpcache

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

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

sudo dnf -y install golang-github-gregjones-httpcache-devel

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

sudo yum -y install golang-github-gregjones-httpcache-devel

How To Uninstall golang-github-gregjones-httpcache-devel on Fedora 36

To uninstall only the golang-github-gregjones-httpcache-devel package we can use the following command:

sudo dnf remove golang-github-gregjones-httpcache-devel

golang-github-gregjones-httpcache-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-gregjones-httpcache-devel
/usr/share/doc/golang-github-gregjones-httpcache-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/gregjones
/usr/share/gocode/src/github.com/gregjones/httpcache
/usr/share/gocode/src/github.com/gregjones/httpcache/.goipath
/usr/share/gocode/src/github.com/gregjones/httpcache/README.md
/usr/share/gocode/src/github.com/gregjones/httpcache/diskcache
/usr/share/gocode/src/github.com/gregjones/httpcache/diskcache/diskcache.go
/usr/share/gocode/src/github.com/gregjones/httpcache/diskcache/diskcache_test.go
/usr/share/gocode/src/github.com/gregjones/httpcache/httpcache.go
/usr/share/gocode/src/github.com/gregjones/httpcache/httpcache_test.go
/usr/share/gocode/src/github.com/gregjones/httpcache/leveldbcache
/usr/share/gocode/src/github.com/gregjones/httpcache/leveldbcache/leveldbcache.go
/usr/share/gocode/src/github.com/gregjones/httpcache/leveldbcache/leveldbcache_test.go
/usr/share/gocode/src/github.com/gregjones/httpcache/memcache
/usr/share/gocode/src/github.com/gregjones/httpcache/memcache/appengine.go
/usr/share/gocode/src/github.com/gregjones/httpcache/memcache/appengine_test.go
/usr/share/gocode/src/github.com/gregjones/httpcache/memcache/memcache.go
/usr/share/gocode/src/github.com/gregjones/httpcache/memcache/memcache_test.go
/usr/share/gocode/src/github.com/gregjones/httpcache/redis
/usr/share/gocode/src/github.com/gregjones/httpcache/redis/redis.go
/usr/share/gocode/src/github.com/gregjones/httpcache/redis/redis_test.go
/usr/share/gocode/src/github.com/gregjones/httpcache/test
/usr/share/gocode/src/github.com/gregjones/httpcache/test/test.go
/usr/share/gocode/src/github.com/gregjones/httpcache/test/test_test.go
/usr/share/licenses/golang-github-gregjones-httpcache-devel
/usr/share/licenses/golang-github-gregjones-httpcache-devel/LICENSE.txt

References

Summary

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