How To Install golang-github-snappy on Fedora 36

In this tutorial we learn how to install golang-github-snappy in Fedora 36. golang-github-snappy is Implementation of the Snappy compression format for Go

Introduction

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

What is golang-github-snappy

Implementation of the Snappy compression format for Go.

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

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

sudo dnf -y install golang-github-snappy

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

sudo yum -y install golang-github-snappy

How To Uninstall golang-github-snappy on Fedora 36

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

sudo dnf remove golang-github-snappy

golang-github-snappy Package Contents on Fedora 36

/usr/bin/snappytool
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/590188e59ec376c2370ffffe2c3229b29a3470
/usr/share/doc/golang-github-snappy
/usr/share/doc/golang-github-snappy/AUTHORS
/usr/share/doc/golang-github-snappy/CONTRIBUTORS
/usr/share/doc/golang-github-snappy/README
/usr/share/licenses/golang-github-snappy
/usr/share/licenses/golang-github-snappy/LICENSE

References

Summary

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