How To Install golang-github-ryanuber-glob-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-ryanuber-glob-devel on Fedora 36.
What is golang-github-ryanuber-glob-devel
Go-glob is a single-function library implementing basic string glob support. Globs are an extremely user-friendly way of supporting string matching without requiring knowledge of regular expressions or Go’s particular regex engine. Most people understand that if you put a * character somewhere in a string, it is treated as a wildcard. Surprisingly, this functionality isn’t found in Go’s standard library, except for path.Match, which is intended to be used while comparing paths (not arbitrary strings), and contains specialized logic for this use case. A better solution might be a POSIX basic (non-ERE) regular expression engine for Go, which doesn’t exist currently. This package contains the source code needed for building packages that reference the following Go import paths – github.com/ryanuber/go-glob
We can use yum or dnf to install golang-github-ryanuber-glob-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-ryanuber-glob-devel.
Install golang-github-ryanuber-glob-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-ryanuber-glob-devel using dnf by running the following command:
sudo dnf -y install golang-github-ryanuber-glob-devel
Install golang-github-ryanuber-glob-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-ryanuber-glob-devel using yum by running the following command:
sudo yum -y install golang-github-ryanuber-glob-devel
How To Uninstall golang-github-ryanuber-glob-devel on Fedora 36
To uninstall only the golang-github-ryanuber-glob-devel package we can use the following command:
sudo dnf remove golang-github-ryanuber-glob-devel
golang-github-ryanuber-glob-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-ryanuber-glob-devel
/usr/share/doc/golang-github-ryanuber-glob-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/ryanuber
/usr/share/gocode/src/github.com/ryanuber/go-glob
/usr/share/gocode/src/github.com/ryanuber/go-glob/.goipath
/usr/share/gocode/src/github.com/ryanuber/go-glob/README.md
/usr/share/gocode/src/github.com/ryanuber/go-glob/glob.go
/usr/share/gocode/src/github.com/ryanuber/go-glob/glob_test.go
/usr/share/gocode/src/github.com/ryanuber/go-glob/go.mod
/usr/share/licenses/golang-github-ryanuber-glob-devel
/usr/share/licenses/golang-github-ryanuber-glob-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-ryanuber-glob-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).