How To Install golang-github-openapi-swag-devel on Fedora 36

In this tutorial we learn how to install golang-github-openapi-swag-devel in Fedora 36. golang-github-openapi-swag-devel is Goodie bag in use in the Go-openapi projects

Introduction

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

What is golang-github-openapi-swag-devel

Contains a bunch of helper functions for go-openapi and go-swagger projects. This package contains the source code needed for building packages that reference the following Go import paths – github.com/go-openapi/swag

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

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

sudo dnf -y install golang-github-openapi-swag-devel

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

sudo yum -y install golang-github-openapi-swag-devel

How To Uninstall golang-github-openapi-swag-devel on Fedora 36

To uninstall only the golang-github-openapi-swag-devel package we can use the following command:

sudo dnf remove golang-github-openapi-swag-devel

golang-github-openapi-swag-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-openapi-swag-devel
/usr/share/doc/golang-github-openapi-swag-devel/CODE_OF_CONDUCT.md
/usr/share/doc/golang-github-openapi-swag-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/go-openapi
/usr/share/gocode/src/github.com/go-openapi/swag
/usr/share/gocode/src/github.com/go-openapi/swag/.goipath
/usr/share/gocode/src/github.com/go-openapi/swag/CODE_OF_CONDUCT.md
/usr/share/gocode/src/github.com/go-openapi/swag/README.md
/usr/share/gocode/src/github.com/go-openapi/swag/convert.go
/usr/share/gocode/src/github.com/go-openapi/swag/convert_test.go
/usr/share/gocode/src/github.com/go-openapi/swag/convert_types.go
/usr/share/gocode/src/github.com/go-openapi/swag/convert_types_test.go
/usr/share/gocode/src/github.com/go-openapi/swag/doc.go
/usr/share/gocode/src/github.com/go-openapi/swag/file.go
/usr/share/gocode/src/github.com/go-openapi/swag/file_test.go
/usr/share/gocode/src/github.com/go-openapi/swag/go.mod
/usr/share/gocode/src/github.com/go-openapi/swag/json.go
/usr/share/gocode/src/github.com/go-openapi/swag/json_test.go
/usr/share/gocode/src/github.com/go-openapi/swag/loading.go
/usr/share/gocode/src/github.com/go-openapi/swag/loading_test.go
/usr/share/gocode/src/github.com/go-openapi/swag/name_lexem.go
/usr/share/gocode/src/github.com/go-openapi/swag/net.go
/usr/share/gocode/src/github.com/go-openapi/swag/net_test.go
/usr/share/gocode/src/github.com/go-openapi/swag/path.go
/usr/share/gocode/src/github.com/go-openapi/swag/path_test.go
/usr/share/gocode/src/github.com/go-openapi/swag/post_go18.go
/usr/share/gocode/src/github.com/go-openapi/swag/post_go19.go
/usr/share/gocode/src/github.com/go-openapi/swag/pre_go18.go
/usr/share/gocode/src/github.com/go-openapi/swag/pre_go19.go
/usr/share/gocode/src/github.com/go-openapi/swag/split.go
/usr/share/gocode/src/github.com/go-openapi/swag/util.go
/usr/share/gocode/src/github.com/go-openapi/swag/util_test.go
/usr/share/gocode/src/github.com/go-openapi/swag/yaml.go
/usr/share/gocode/src/github.com/go-openapi/swag/yaml_test.go
/usr/share/licenses/golang-github-openapi-swag-devel
/usr/share/licenses/golang-github-openapi-swag-devel/LICENSE

References

Summary

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