How To Install golang-github-cespare-xxhash on Fedora 36

In this tutorial we learn how to install golang-github-cespare-xxhash in Fedora 36. golang-github-cespare-xxhash is Go implementation of the 64-bit xxHash algorithm (XXH64)

Introduction

In this tutorial we learn how to install golang-github-cespare-xxhash on Fedora 36.

What is golang-github-cespare-xxhash

xxhash is a Go implementation of the 64-bit xxHash algorithm, XXH64. This is a high-quality hashing algorithm that is much faster than anything in the Go standard library.

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

Install golang-github-cespare-xxhash 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-cespare-xxhash using dnf by running the following command:

sudo dnf -y install golang-github-cespare-xxhash

Install golang-github-cespare-xxhash 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-cespare-xxhash using yum by running the following command:

sudo yum -y install golang-github-cespare-xxhash

How To Uninstall golang-github-cespare-xxhash on Fedora 36

To uninstall only the golang-github-cespare-xxhash package we can use the following command:

sudo dnf remove golang-github-cespare-xxhash

golang-github-cespare-xxhash Package Contents on Fedora 36

/usr/bin/xxhsum
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/d73c0a5fc4769cc189ca1c89d99ab748a702a6
/usr/share/doc/golang-github-cespare-xxhash
/usr/share/doc/golang-github-cespare-xxhash/README.md
/usr/share/licenses/golang-github-cespare-xxhash
/usr/share/licenses/golang-github-cespare-xxhash/LICENSE.txt

References

Summary

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