How To Install golang-github-lithammer-fuzzysearch-devel on Fedora 36

In this tutorial we learn how to install golang-github-lithammer-fuzzysearch-devel in Fedora 36. golang-github-lithammer-fuzzysearch-devel is Tiny and fast fuzzy search in Go

Introduction

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

What is golang-github-lithammer-fuzzysearch-devel

Inspired by bevacqua/fuzzysearch, a fuzzy matching library written in JavaScript. But contains some extras like ranking using Levenshtein distance (see RankMatch()) and finding matches in a list of words (see Find()). Fuzzy searching allows for flexibly matching a string with partial input, useful for filtering data very quickly based on lightweight user input. The current implementation uses the algorithm suggested by Mr. Aleph, a russian compiler engineer working at V8. This package contains the source code needed for building packages that reference the following Go import paths – github.com/lithammer/fuzzysearch

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

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

sudo dnf -y install golang-github-lithammer-fuzzysearch-devel

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

sudo yum -y install golang-github-lithammer-fuzzysearch-devel

How To Uninstall golang-github-lithammer-fuzzysearch-devel on Fedora 36

To uninstall only the golang-github-lithammer-fuzzysearch-devel package we can use the following command:

sudo dnf remove golang-github-lithammer-fuzzysearch-devel

golang-github-lithammer-fuzzysearch-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-lithammer-fuzzysearch-devel
/usr/share/doc/golang-github-lithammer-fuzzysearch-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/lithammer
/usr/share/gocode/src/github.com/lithammer/fuzzysearch
/usr/share/gocode/src/github.com/lithammer/fuzzysearch/.goipath
/usr/share/gocode/src/github.com/lithammer/fuzzysearch/README.md
/usr/share/gocode/src/github.com/lithammer/fuzzysearch/fuzzy
/usr/share/gocode/src/github.com/lithammer/fuzzysearch/fuzzy/fuzzy.go
/usr/share/gocode/src/github.com/lithammer/fuzzysearch/fuzzy/fuzzy_test.go
/usr/share/gocode/src/github.com/lithammer/fuzzysearch/fuzzy/levenshtein.go
/usr/share/gocode/src/github.com/lithammer/fuzzysearch/fuzzy/levenshtein_test.go
/usr/share/gocode/src/github.com/lithammer/fuzzysearch/go.mod
/usr/share/licenses/golang-github-lithammer-fuzzysearch-devel
/usr/share/licenses/golang-github-lithammer-fuzzysearch-devel/LICENSE

References

Summary

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