How To Install golang-github-evanphx-json-patch-devel on Fedora 36

In this tutorial we learn how to install golang-github-evanphx-json-patch-devel in Fedora 36. golang-github-evanphx-json-patch-devel is Go library to apply RFC6902 patches and create and apply RFC7386 patches

Introduction

In this tutorial we learn how to install golang-github-evanphx-json-patch-devel on Fedora 36.

What is golang-github-evanphx-json-patch-devel

Jsonpatch is a library which provides functionallity for both applying RFC6902 JSON patches against documents, as well as for calculating & applying RFC7396 JSON merge patches. This package contains the source code needed for building packages that reference the following Go import paths – github.com/evanphx/json-patch

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

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

sudo dnf -y install golang-github-evanphx-json-patch-devel

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

sudo yum -y install golang-github-evanphx-json-patch-devel

How To Uninstall golang-github-evanphx-json-patch-devel on Fedora 36

To uninstall only the golang-github-evanphx-json-patch-devel package we can use the following command:

sudo dnf remove golang-github-evanphx-json-patch-devel

golang-github-evanphx-json-patch-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-evanphx-json-patch-devel
/usr/share/doc/golang-github-evanphx-json-patch-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/evanphx
/usr/share/gocode/src/github.com/evanphx/json-patch
/usr/share/gocode/src/github.com/evanphx/json-patch/.goipath
/usr/share/gocode/src/github.com/evanphx/json-patch/README.md
/usr/share/gocode/src/github.com/evanphx/json-patch/cmd
/usr/share/gocode/src/github.com/evanphx/json-patch/cmd/json-patch
/usr/share/gocode/src/github.com/evanphx/json-patch/cmd/json-patch/file_flag.go
/usr/share/gocode/src/github.com/evanphx/json-patch/cmd/json-patch/main.go
/usr/share/gocode/src/github.com/evanphx/json-patch/errors.go
/usr/share/gocode/src/github.com/evanphx/json-patch/glide.lock
/usr/share/gocode/src/github.com/evanphx/json-patch/glide.yaml
/usr/share/gocode/src/github.com/evanphx/json-patch/go.mod
/usr/share/gocode/src/github.com/evanphx/json-patch/merge.go
/usr/share/gocode/src/github.com/evanphx/json-patch/merge_test.go
/usr/share/gocode/src/github.com/evanphx/json-patch/patch.go
/usr/share/gocode/src/github.com/evanphx/json-patch/patch_test.go
/usr/share/gocode/src/github.com/evanphx/json-patch/v5
/usr/share/gocode/src/github.com/evanphx/json-patch/v5/cmd
/usr/share/gocode/src/github.com/evanphx/json-patch/v5/cmd/json-patch
/usr/share/gocode/src/github.com/evanphx/json-patch/v5/cmd/json-patch/file_flag.go
/usr/share/gocode/src/github.com/evanphx/json-patch/v5/cmd/json-patch/main.go
/usr/share/gocode/src/github.com/evanphx/json-patch/v5/errors.go
/usr/share/gocode/src/github.com/evanphx/json-patch/v5/merge.go
/usr/share/gocode/src/github.com/evanphx/json-patch/v5/merge_test.go
/usr/share/gocode/src/github.com/evanphx/json-patch/v5/patch.go
/usr/share/gocode/src/github.com/evanphx/json-patch/v5/patch_test.go
/usr/share/licenses/golang-github-evanphx-json-patch-devel
/usr/share/licenses/golang-github-evanphx-json-patch-devel/LICENSE

References

Summary

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