How To Install golang-github-gofrs-uuid-devel on Fedora 36

In this tutorial we learn how to install golang-github-gofrs-uuid-devel in Fedora 36. golang-github-gofrs-uuid-devel is Pure Go implementation of Universally Unique Identifiers (UUID)

Introduction

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

What is golang-github-gofrs-uuid-devel

Package uuid provides a pure Go implementation of Universally Unique Identifiers (UUID) variant as defined in RFC-4122. This package supports both the creation and parsing of UUIDs in different formats. This package supports the following UUID versions – Version 1, based on timestamp and MAC address (RFC-4122) – Version 2, based on timestamp, MAC address and POSIX UID/GID (DCE 1.1) – Version 3, based on MD5 hashing of a named value (RFC-4122) – Version 4, based on random numbers (RFC-4122) – Version 5, based on SHA-1 hashing of a named value (RFC-4122) This package contains the source code needed for building packages that reference the following Go import paths – github.com/gofrs/uuid

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

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

sudo dnf -y install golang-github-gofrs-uuid-devel

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

sudo yum -y install golang-github-gofrs-uuid-devel

How To Uninstall golang-github-gofrs-uuid-devel on Fedora 36

To uninstall only the golang-github-gofrs-uuid-devel package we can use the following command:

sudo dnf remove golang-github-gofrs-uuid-devel

golang-github-gofrs-uuid-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-gofrs-uuid-devel
/usr/share/doc/golang-github-gofrs-uuid-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/gofrs
/usr/share/gocode/src/github.com/gofrs/uuid
/usr/share/gocode/src/github.com/gofrs/uuid/.goipath
/usr/share/gocode/src/github.com/gofrs/uuid/README.md
/usr/share/gocode/src/github.com/gofrs/uuid/codec.go
/usr/share/gocode/src/github.com/gofrs/uuid/codec_test.go
/usr/share/gocode/src/github.com/gofrs/uuid/fuzz.go
/usr/share/gocode/src/github.com/gofrs/uuid/generator.go
/usr/share/gocode/src/github.com/gofrs/uuid/generator_test.go
/usr/share/gocode/src/github.com/gofrs/uuid/sql.go
/usr/share/gocode/src/github.com/gofrs/uuid/sql_test.go
/usr/share/gocode/src/github.com/gofrs/uuid/uuid.go
/usr/share/gocode/src/github.com/gofrs/uuid/uuid_test.go
/usr/share/licenses/golang-github-gofrs-uuid-devel
/usr/share/licenses/golang-github-gofrs-uuid-devel/LICENSE

References

Summary

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