How To Install golang-github-h2non-parth-devel on Fedora 36

In this tutorial we learn how to install golang-github-h2non-parth-devel in Fedora 36. golang-github-h2non-parth-devel is Path parsing for segment unmarshaling and slicing

Introduction

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

What is golang-github-h2non-parth-devel

Package Parth provides path parsing for segment unmarshaling and slicing. In other words, parth provides simple and flexible access to (URL) path parameters. Along with string, all basic non-alias types are supported. An interface is available for implementation by user-defined types. When handling an int, uint, or float of any size, the first valid value within the specified segment will be used. This package contains the source code needed for building packages that reference the following Go import paths – github.com/h2non/parth

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

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

sudo dnf -y install golang-github-h2non-parth-devel

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

sudo yum -y install golang-github-h2non-parth-devel

How To Uninstall golang-github-h2non-parth-devel on Fedora 36

To uninstall only the golang-github-h2non-parth-devel package we can use the following command:

sudo dnf remove golang-github-h2non-parth-devel

golang-github-h2non-parth-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-h2non-parth-devel
/usr/share/doc/golang-github-h2non-parth-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/h2non
/usr/share/gocode/src/github.com/h2non/parth
/usr/share/gocode/src/github.com/h2non/parth/.goipath
/usr/share/gocode/src/github.com/h2non/parth/README.md
/usr/share/gocode/src/github.com/h2non/parth/benchmark_test.go
/usr/share/gocode/src/github.com/h2non/parth/example_test.go
/usr/share/gocode/src/github.com/h2non/parth/go.mod
/usr/share/gocode/src/github.com/h2non/parth/parth.go
/usr/share/gocode/src/github.com/h2non/parth/parth_test.go
/usr/share/gocode/src/github.com/h2non/parth/segindex.go
/usr/share/gocode/src/github.com/h2non/parth/segindex_test.go
/usr/share/gocode/src/github.com/h2non/parth/segtostr.go
/usr/share/gocode/src/github.com/h2non/parth/segtostr_test.go
/usr/share/licenses/golang-github-h2non-parth-devel
/usr/share/licenses/golang-github-h2non-parth-devel/LICENSE

References

Summary

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