How To Install golang-github-klauspost-pgzip-devel on Fedora 36

In this tutorial we learn how to install golang-github-klauspost-pgzip-devel in Fedora 36. golang-github-klauspost-pgzip-devel is Go parallel gzip (de)compression

Introduction

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

What is golang-github-klauspost-pgzip-devel

Go parallel gzip compression/decompression. This is a fully gzip compatible drop in replacement for “compress/gzip”. This will split compression into blocks that are compressed in parallel. This can be useful for compressing big amounts of data. The output is a standard gzip file. The gzip decompression is modified so it decompresses ahead of the current reader. This means that reads will be non-blocking if the decompressor can keep ahead of your code reading from it. CRC calculation also takes place in a separate goroutine. This package contains the source code needed for building packages that reference the following Go import paths – github.com/klauspost/pgzip

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

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

sudo dnf -y install golang-github-klauspost-pgzip-devel

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

sudo yum -y install golang-github-klauspost-pgzip-devel

How To Uninstall golang-github-klauspost-pgzip-devel on Fedora 36

To uninstall only the golang-github-klauspost-pgzip-devel package we can use the following command:

sudo dnf remove golang-github-klauspost-pgzip-devel

golang-github-klauspost-pgzip-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-klauspost-pgzip-devel
/usr/share/doc/golang-github-klauspost-pgzip-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/klauspost
/usr/share/gocode/src/github.com/klauspost/pgzip
/usr/share/gocode/src/github.com/klauspost/pgzip/.goipath
/usr/share/gocode/src/github.com/klauspost/pgzip/README.md
/usr/share/gocode/src/github.com/klauspost/pgzip/gunzip.go
/usr/share/gocode/src/github.com/klauspost/pgzip/gunzip_test.go
/usr/share/gocode/src/github.com/klauspost/pgzip/gzip.go
/usr/share/gocode/src/github.com/klauspost/pgzip/gzip_norace_test.go
/usr/share/gocode/src/github.com/klauspost/pgzip/gzip_test.go
/usr/share/gocode/src/github.com/klauspost/pgzip/gzip_unreliable_test.go
/usr/share/licenses/golang-github-klauspost-pgzip-devel
/usr/share/licenses/golang-github-klauspost-pgzip-devel/LICENSE

References

Summary

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