How To Install golang-github-pierrec-lz4 on Fedora 36

In this tutorial we learn how to install golang-github-pierrec-lz4 in Fedora 36. golang-github-pierrec-lz4 is LZ4 compression and decompression in pure Go

Introduction

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

What is golang-github-pierrec-lz4

Package lz4 implements reading and writing lz4 compressed data (a frame), as specified in http This package is compatible with the LZ4 frame format although the block level compression and decompression functions are exposed and are fully compatible with the LZ4 block format definition, they are low level and should not be used directly.

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

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

sudo dnf -y install golang-github-pierrec-lz4

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

sudo yum -y install golang-github-pierrec-lz4

How To Uninstall golang-github-pierrec-lz4 on Fedora 36

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

sudo dnf remove golang-github-pierrec-lz4

golang-github-pierrec-lz4 Package Contents on Fedora 36

/usr/bin/lz4c
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/78f5a7aa704891b282131fba786c680e6ac504
/usr/share/doc/golang-github-pierrec-lz4
/usr/share/doc/golang-github-pierrec-lz4/README.md
/usr/share/licenses/golang-github-pierrec-lz4
/usr/share/licenses/golang-github-pierrec-lz4/LICENSE

References

Summary

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