How To Install golang-mvdan-xurls on Fedora 36

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

Introduction

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

What is golang-mvdan-xurls

Extract urls from text using regular expressions. Requires Go 1.10.3 or later.

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

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

sudo dnf -y install golang-mvdan-xurls

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

sudo yum -y install golang-mvdan-xurls

How To Uninstall golang-mvdan-xurls on Fedora 36

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

sudo dnf remove golang-mvdan-xurls

golang-mvdan-xurls Package Contents on Fedora 36

/usr/bin/xurls
/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/4f0db74a19f4bcf601db431dc786da62498b6d
/usr/share/doc/golang-mvdan-xurls
/usr/share/doc/golang-mvdan-xurls/README.md
/usr/share/licenses/golang-mvdan-xurls
/usr/share/licenses/golang-mvdan-xurls/LICENSE

References

Summary

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