How To Install golang-github-sergi-diff-devel on Fedora 36

In this tutorial we learn how to install golang-github-sergi-diff-devel in Fedora 36. golang-github-sergi-diff-devel is Diff, match and patch text in Go

Introduction

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

What is golang-github-sergi-diff-devel

Go-diff offers algorithms to perform operations required for synchronizing plain text – Compare two texts and return their differences. – Perform fuzzy matching of text. – Apply patches onto text. This package contains the source code needed for building packages that reference the following Go import paths – github.com/sergi/go-diff

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

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

sudo dnf -y install golang-github-sergi-diff-devel

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

sudo yum -y install golang-github-sergi-diff-devel

How To Uninstall golang-github-sergi-diff-devel on Fedora 36

To uninstall only the golang-github-sergi-diff-devel package we can use the following command:

sudo dnf remove golang-github-sergi-diff-devel

golang-github-sergi-diff-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-sergi-diff-devel
/usr/share/doc/golang-github-sergi-diff-devel/AUTHORS
/usr/share/doc/golang-github-sergi-diff-devel/CONTRIBUTORS
/usr/share/doc/golang-github-sergi-diff-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/sergi
/usr/share/gocode/src/github.com/sergi/go-diff
/usr/share/gocode/src/github.com/sergi/go-diff/.goipath
/usr/share/gocode/src/github.com/sergi/go-diff/README.md
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/benchutil_test.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/diff.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/diff_test.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/diffmatchpatch.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/match.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/match_test.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/mathutil.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/operation_string.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/patch.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/patch_test.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/stringutil.go
/usr/share/gocode/src/github.com/sergi/go-diff/diffmatchpatch/stringutil_test.go
/usr/share/gocode/src/github.com/sergi/go-diff/go.mod
/usr/share/licenses/golang-github-sergi-diff-devel
/usr/share/licenses/golang-github-sergi-diff-devel/APACHE-LICENSE-2.0
/usr/share/licenses/golang-github-sergi-diff-devel/LICENSE

References

Summary

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