How To Install golang-mvdan-xurls-devel on Fedora 36

In this tutorial we learn how to install golang-mvdan-xurls-devel in Fedora 36. golang-mvdan-xurls-devel is Extract urls from text

Introduction

In this tutorial we learn how to install golang-mvdan-xurls-devel on Fedora 36.

What is golang-mvdan-xurls-devel

Extract urls from text using regular expressions. Requires Go 1.10.3 or later. This package contains the source code needed for building packages that reference the following Go import paths – mvdan.cc/xurls

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

Install golang-mvdan-xurls-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-mvdan-xurls-devel using dnf by running the following command:

sudo dnf -y install golang-mvdan-xurls-devel

Install golang-mvdan-xurls-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-mvdan-xurls-devel using yum by running the following command:

sudo yum -y install golang-mvdan-xurls-devel

How To Uninstall golang-mvdan-xurls-devel on Fedora 36

To uninstall only the golang-mvdan-xurls-devel package we can use the following command:

sudo dnf remove golang-mvdan-xurls-devel

golang-mvdan-xurls-devel Package Contents on Fedora 36

/usr/share/doc/golang-mvdan-xurls-devel
/usr/share/doc/golang-mvdan-xurls-devel/README.md
/usr/share/gocode/src/mvdan.cc
/usr/share/gocode/src/mvdan.cc/xurls
/usr/share/gocode/src/mvdan.cc/xurls/.goipath
/usr/share/gocode/src/mvdan.cc/xurls/README.md
/usr/share/gocode/src/mvdan.cc/xurls/cmd
/usr/share/gocode/src/mvdan.cc/xurls/cmd/xurls
/usr/share/gocode/src/mvdan.cc/xurls/cmd/xurls/main.go
/usr/share/gocode/src/mvdan.cc/xurls/cmd/xurls/main_test.go
/usr/share/gocode/src/mvdan.cc/xurls/example_test.go
/usr/share/gocode/src/mvdan.cc/xurls/generate
/usr/share/gocode/src/mvdan.cc/xurls/generate/schemesgen
/usr/share/gocode/src/mvdan.cc/xurls/generate/schemesgen/main.go
/usr/share/gocode/src/mvdan.cc/xurls/generate/tldsgen
/usr/share/gocode/src/mvdan.cc/xurls/generate/tldsgen/main.go
/usr/share/gocode/src/mvdan.cc/xurls/go.mod
/usr/share/gocode/src/mvdan.cc/xurls/schemes.go
/usr/share/gocode/src/mvdan.cc/xurls/tlds.go
/usr/share/gocode/src/mvdan.cc/xurls/tlds_pseudo.go
/usr/share/gocode/src/mvdan.cc/xurls/xurls.go
/usr/share/gocode/src/mvdan.cc/xurls/xurls_test.go
/usr/share/licenses/golang-mvdan-xurls-devel
/usr/share/licenses/golang-mvdan-xurls-devel/LICENSE

References

Summary

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