How To Install golang-github-pborman-getopt-devel on Fedora 36

In this tutorial we learn how to install golang-github-pborman-getopt-devel in Fedora 36. golang-github-pborman-getopt-devel is Getopt style option parsing for Go

Introduction

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

What is golang-github-pborman-getopt-devel

Package Getopt provides traditional getopt processing for implementing commands that use traditional command lines. The standard Go flag package cannot be used to write a program that parses flags the way ls or ssh does, for example. This package contains the source code needed for building packages that reference the following Go import paths – github.com/pborman/getopt

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

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

sudo dnf -y install golang-github-pborman-getopt-devel

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

sudo yum -y install golang-github-pborman-getopt-devel

How To Uninstall golang-github-pborman-getopt-devel on Fedora 36

To uninstall only the golang-github-pborman-getopt-devel package we can use the following command:

sudo dnf remove golang-github-pborman-getopt-devel

golang-github-pborman-getopt-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-pborman-getopt-devel
/usr/share/doc/golang-github-pborman-getopt-devel/AUTHORS
/usr/share/doc/golang-github-pborman-getopt-devel/CONTRIBUTING.md
/usr/share/doc/golang-github-pborman-getopt-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/pborman
/usr/share/gocode/src/github.com/pborman/getopt
/usr/share/gocode/src/github.com/pborman/getopt/.goipath
/usr/share/gocode/src/github.com/pborman/getopt/CONTRIBUTING.md
/usr/share/gocode/src/github.com/pborman/getopt/README.md
/usr/share/gocode/src/github.com/pborman/getopt/bool.go
/usr/share/gocode/src/github.com/pborman/getopt/bool_test.go
/usr/share/gocode/src/github.com/pborman/getopt/breakup_test.go
/usr/share/gocode/src/github.com/pborman/getopt/counter.go
/usr/share/gocode/src/github.com/pborman/getopt/counter_test.go
/usr/share/gocode/src/github.com/pborman/getopt/duration.go
/usr/share/gocode/src/github.com/pborman/getopt/duration_test.go
/usr/share/gocode/src/github.com/pborman/getopt/enum.go
/usr/share/gocode/src/github.com/pborman/getopt/enum_test.go
/usr/share/gocode/src/github.com/pborman/getopt/error.go
/usr/share/gocode/src/github.com/pborman/getopt/getopt.go
/usr/share/gocode/src/github.com/pborman/getopt/go.mod
/usr/share/gocode/src/github.com/pborman/getopt/int.go
/usr/share/gocode/src/github.com/pborman/getopt/int16.go
/usr/share/gocode/src/github.com/pborman/getopt/int16_test.go
/usr/share/gocode/src/github.com/pborman/getopt/int32.go
/usr/share/gocode/src/github.com/pborman/getopt/int32_test.go
/usr/share/gocode/src/github.com/pborman/getopt/int64.go
/usr/share/gocode/src/github.com/pborman/getopt/int64_test.go
/usr/share/gocode/src/github.com/pborman/getopt/int_test.go
/usr/share/gocode/src/github.com/pborman/getopt/list.go
/usr/share/gocode/src/github.com/pborman/getopt/list_test.go
/usr/share/gocode/src/github.com/pborman/getopt/option.go
/usr/share/gocode/src/github.com/pborman/getopt/set.go
/usr/share/gocode/src/github.com/pborman/getopt/signed.go
/usr/share/gocode/src/github.com/pborman/getopt/signed_test.go
/usr/share/gocode/src/github.com/pborman/getopt/string.go
/usr/share/gocode/src/github.com/pborman/getopt/string_test.go
/usr/share/gocode/src/github.com/pborman/getopt/uint.go
/usr/share/gocode/src/github.com/pborman/getopt/uint16.go
/usr/share/gocode/src/github.com/pborman/getopt/uint16_test.go
/usr/share/gocode/src/github.com/pborman/getopt/uint32.go
/usr/share/gocode/src/github.com/pborman/getopt/uint32_test.go
/usr/share/gocode/src/github.com/pborman/getopt/uint64.go
/usr/share/gocode/src/github.com/pborman/getopt/uint64_test.go
/usr/share/gocode/src/github.com/pborman/getopt/uint_test.go
/usr/share/gocode/src/github.com/pborman/getopt/unsigned.go
/usr/share/gocode/src/github.com/pborman/getopt/unsigned_test.go
/usr/share/gocode/src/github.com/pborman/getopt/util_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2
/usr/share/gocode/src/github.com/pborman/getopt/v2/bool.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/bool_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/breakup_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/counter.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/counter_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/duration.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/duration_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/enum.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/enum_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/error.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/generic.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/generic_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/getopt.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/getopt_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/help_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/int.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/int_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/list.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/list_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/option.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/set.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/signed.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/signed_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/string.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/string_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/unsigned.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/unsigned_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/util_test.go
/usr/share/gocode/src/github.com/pborman/getopt/v2/var.go
/usr/share/gocode/src/github.com/pborman/getopt/var.go
/usr/share/licenses/golang-github-pborman-getopt-devel
/usr/share/licenses/golang-github-pborman-getopt-devel/LICENSE

References

Summary

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