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

In this tutorial we learn how to install golang-github-evanphx-json-patch in Fedora 36. golang-github-evanphx-json-patch 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 on Fedora 36.

What is golang-github-evanphx-json-patch

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.

We can use yum or dnf to install golang-github-evanphx-json-patch 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.

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

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

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

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

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

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

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

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

/usr/bin/json-patch
/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/6df68261d129233c584b5d15b7a6dc56b09473
/usr/share/doc/golang-github-evanphx-json-patch
/usr/share/doc/golang-github-evanphx-json-patch/README.md
/usr/share/licenses/golang-github-evanphx-json-patch
/usr/share/licenses/golang-github-evanphx-json-patch/LICENSE

References

Summary

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