How To Install golang-github-mileusna-useragent-devel on Fedora 36

In this tutorial we learn how to install golang-github-mileusna-useragent-devel in Fedora 36. golang-github-mileusna-useragent-devel is Go parser for user agent strings

Introduction

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

What is golang-github-mileusna-useragent-devel

Package ua.Parse(userAgent string) function parses browser’s and bot’s user agents strings and determines – User agent name and version (Chrome, Firefox, Googlebot, etc.) – Operating system name and version (Windows, Android, iOS etc.) – Device type (mobile, desktop, tablet, bot) – Device name if available (iPhone, iPad, Huawei VNS-L21) – URL provided by the bot (http This package contains the source code needed for building packages that reference the following Go import paths – github.com/mileusna/useragent

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

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

sudo dnf -y install golang-github-mileusna-useragent-devel

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

sudo yum -y install golang-github-mileusna-useragent-devel

How To Uninstall golang-github-mileusna-useragent-devel on Fedora 36

To uninstall only the golang-github-mileusna-useragent-devel package we can use the following command:

sudo dnf remove golang-github-mileusna-useragent-devel

golang-github-mileusna-useragent-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-mileusna-useragent-devel
/usr/share/doc/golang-github-mileusna-useragent-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/mileusna
/usr/share/gocode/src/github.com/mileusna/useragent
/usr/share/gocode/src/github.com/mileusna/useragent/.goipath
/usr/share/gocode/src/github.com/mileusna/useragent/README.md
/usr/share/gocode/src/github.com/mileusna/useragent/go.mod
/usr/share/gocode/src/github.com/mileusna/useragent/is.go
/usr/share/gocode/src/github.com/mileusna/useragent/ua.go
/usr/share/gocode/src/github.com/mileusna/useragent/ua_test.go
/usr/share/licenses/golang-github-mileusna-useragent-devel
/usr/share/licenses/golang-github-mileusna-useragent-devel/LICENSE

References

Summary

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