How To Install golang-github-jarcoal-httpmock-devel on Fedora 36

In this tutorial we learn how to install golang-github-jarcoal-httpmock-devel in Fedora 36. golang-github-jarcoal-httpmock-devel is HTTP mocking for Golang

Introduction

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

What is golang-github-jarcoal-httpmock-devel

HTTP mocking for Golang. This package contains the source code needed for building packages that reference the following Go import paths – github.com/jarcoal/httpmock

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

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

sudo dnf -y install golang-github-jarcoal-httpmock-devel

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

sudo yum -y install golang-github-jarcoal-httpmock-devel

How To Uninstall golang-github-jarcoal-httpmock-devel on Fedora 36

To uninstall only the golang-github-jarcoal-httpmock-devel package we can use the following command:

sudo dnf remove golang-github-jarcoal-httpmock-devel

golang-github-jarcoal-httpmock-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-jarcoal-httpmock-devel
/usr/share/doc/golang-github-jarcoal-httpmock-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/jarcoal
/usr/share/gocode/src/github.com/jarcoal/httpmock
/usr/share/gocode/src/github.com/jarcoal/httpmock/.goipath
/usr/share/gocode/src/github.com/jarcoal/httpmock/README.md
/usr/share/gocode/src/github.com/jarcoal/httpmock/doc.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/env.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/env_test.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/file.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/file_test.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/go.mod
/usr/share/gocode/src/github.com/jarcoal/httpmock/internal
/usr/share/gocode/src/github.com/jarcoal/httpmock/internal/route_key.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/internal/route_key_test.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/internal/stack_tracer.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/internal/stack_tracer_test.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/internal/submatches.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/internal/submatches_test.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/response.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/response_test.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/transport.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/transport_test.go
/usr/share/gocode/src/github.com/jarcoal/httpmock/util_test.go
/usr/share/licenses/golang-github-jarcoal-httpmock-devel
/usr/share/licenses/golang-github-jarcoal-httpmock-devel/LICENSE

References

Summary

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