How To Install golang-github-antchfx-xpath-devel on Fedora 36

In this tutorial we learn how to install golang-github-antchfx-xpath-devel in Fedora 36. golang-github-antchfx-xpath-devel is XPath package

Introduction

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

What is golang-github-antchfx-xpath-devel

XPath package for Golang, supported HTML, XML, JSON query. This package contains the source code needed for building packages that reference the following Go import paths – github.com/antchfx/xpath

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

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

sudo dnf -y install golang-github-antchfx-xpath-devel

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

sudo yum -y install golang-github-antchfx-xpath-devel

How To Uninstall golang-github-antchfx-xpath-devel on Fedora 36

To uninstall only the golang-github-antchfx-xpath-devel package we can use the following command:

sudo dnf remove golang-github-antchfx-xpath-devel

golang-github-antchfx-xpath-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-antchfx-xpath-devel
/usr/share/doc/golang-github-antchfx-xpath-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/antchfx
/usr/share/gocode/src/github.com/antchfx/xpath
/usr/share/gocode/src/github.com/antchfx/xpath/.goipath
/usr/share/gocode/src/github.com/antchfx/xpath/README.md
/usr/share/gocode/src/github.com/antchfx/xpath/assert_test.go
/usr/share/gocode/src/github.com/antchfx/xpath/build.go
/usr/share/gocode/src/github.com/antchfx/xpath/cache.go
/usr/share/gocode/src/github.com/antchfx/xpath/cache_test.go
/usr/share/gocode/src/github.com/antchfx/xpath/doc_test.go
/usr/share/gocode/src/github.com/antchfx/xpath/func.go
/usr/share/gocode/src/github.com/antchfx/xpath/func_go110.go
/usr/share/gocode/src/github.com/antchfx/xpath/func_pre_go110.go
/usr/share/gocode/src/github.com/antchfx/xpath/func_test.go
/usr/share/gocode/src/github.com/antchfx/xpath/go.mod
/usr/share/gocode/src/github.com/antchfx/xpath/operator.go
/usr/share/gocode/src/github.com/antchfx/xpath/parse.go
/usr/share/gocode/src/github.com/antchfx/xpath/query.go
/usr/share/gocode/src/github.com/antchfx/xpath/xpath.go
/usr/share/gocode/src/github.com/antchfx/xpath/xpath_test.go
/usr/share/licenses/golang-github-antchfx-xpath-devel
/usr/share/licenses/golang-github-antchfx-xpath-devel/LICENSE

References

Summary

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