How To Install golang-github-rs-xid-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-rs-xid-devel
on Fedora 36.
What is golang-github-rs-xid-devel
Package Xid is a globally unique id generator library, ready to be used safely directly in your server code. Xid is using Mongo Object ID algorithm to generate globally unique ids with a different serialization (base64) to make it shorter when transported as a string. This package contains the source code needed for building packages that reference the following Go import paths – github.com/rs/xid
We can use yum
or dnf
to install golang-github-rs-xid-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-rs-xid-devel.
Install golang-github-rs-xid-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-rs-xid-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-rs-xid-devel
Install golang-github-rs-xid-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-rs-xid-devel
using yum
by running the following command:
sudo yum -y install golang-github-rs-xid-devel
How To Uninstall golang-github-rs-xid-devel on Fedora 36
To uninstall only the golang-github-rs-xid-devel
package we can use the following command:
sudo dnf remove golang-github-rs-xid-devel
golang-github-rs-xid-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-rs-xid-devel
/usr/share/doc/golang-github-rs-xid-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/rs
/usr/share/gocode/src/github.com/rs/xid
/usr/share/gocode/src/github.com/rs/xid/.goipath
/usr/share/gocode/src/github.com/rs/xid/README.md
/usr/share/gocode/src/github.com/rs/xid/go.mod
/usr/share/gocode/src/github.com/rs/xid/hostid_darwin.go
/usr/share/gocode/src/github.com/rs/xid/hostid_fallback.go
/usr/share/gocode/src/github.com/rs/xid/hostid_freebsd.go
/usr/share/gocode/src/github.com/rs/xid/hostid_linux.go
/usr/share/gocode/src/github.com/rs/xid/hostid_windows.go
/usr/share/gocode/src/github.com/rs/xid/id.go
/usr/share/gocode/src/github.com/rs/xid/id_test.go
/usr/share/licenses/golang-github-rs-xid-devel
/usr/share/licenses/golang-github-rs-xid-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-rs-xid-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).