How To Install golang-gopkg-resty-1-devel on Fedora 36

In this tutorial we learn how to install golang-gopkg-resty-1-devel in Fedora 36. golang-gopkg-resty-1-devel is Simple HTTP and REST client library for Go

Introduction

In this tutorial we learn how to install golang-gopkg-resty-1-devel on Fedora 36.

What is golang-gopkg-resty-1-devel

Package Resty provides Simple HTTP and REST client library for Go. This package contains the source code needed for building packages that reference the following Go import paths – gopkg.in/resty.v1

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

Install golang-gopkg-resty-1-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-gopkg-resty-1-devel using dnf by running the following command:

sudo dnf -y install golang-gopkg-resty-1-devel

Install golang-gopkg-resty-1-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-gopkg-resty-1-devel using yum by running the following command:

sudo yum -y install golang-gopkg-resty-1-devel

How To Uninstall golang-gopkg-resty-1-devel on Fedora 36

To uninstall only the golang-gopkg-resty-1-devel package we can use the following command:

sudo dnf remove golang-gopkg-resty-1-devel

golang-gopkg-resty-1-devel Package Contents on Fedora 36

/usr/share/doc/golang-gopkg-resty-1-devel
/usr/share/doc/golang-gopkg-resty-1-devel/README.md
/usr/share/doc/golang-gopkg-resty-1-devel/text-file.txt
/usr/share/gocode/src/gopkg.in
/usr/share/gocode/src/gopkg.in/resty.v1
/usr/share/gocode/src/gopkg.in/resty.v1/.goipath
/usr/share/gocode/src/gopkg.in/resty.v1/README.md
/usr/share/gocode/src/gopkg.in/resty.v1/client.go
/usr/share/gocode/src/gopkg.in/resty.v1/client_test.go
/usr/share/gocode/src/gopkg.in/resty.v1/context17_test.go
/usr/share/gocode/src/gopkg.in/resty.v1/context18_test.go
/usr/share/gocode/src/gopkg.in/resty.v1/context_test.go
/usr/share/gocode/src/gopkg.in/resty.v1/default.go
/usr/share/gocode/src/gopkg.in/resty.v1/example_test.go
/usr/share/gocode/src/gopkg.in/resty.v1/go.mod
/usr/share/gocode/src/gopkg.in/resty.v1/middleware.go
/usr/share/gocode/src/gopkg.in/resty.v1/redirect.go
/usr/share/gocode/src/gopkg.in/resty.v1/request.go
/usr/share/gocode/src/gopkg.in/resty.v1/request16.go
/usr/share/gocode/src/gopkg.in/resty.v1/request17.go
/usr/share/gocode/src/gopkg.in/resty.v1/request_test.go
/usr/share/gocode/src/gopkg.in/resty.v1/response.go
/usr/share/gocode/src/gopkg.in/resty.v1/resty.go
/usr/share/gocode/src/gopkg.in/resty.v1/resty_test.go
/usr/share/gocode/src/gopkg.in/resty.v1/retry.go
/usr/share/gocode/src/gopkg.in/resty.v1/retry_test.go
/usr/share/gocode/src/gopkg.in/resty.v1/util.go
/usr/share/gocode/src/gopkg.in/resty.v1/util_test.go
/usr/share/licenses/golang-gopkg-resty-1-devel
/usr/share/licenses/golang-gopkg-resty-1-devel/LICENSE

References

Summary

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