How To Install pigz.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pigz.x86_64 in Amazon Linux 2. pigz.x86_64 is Parallel implementation of gzip

Introduction

In this tutorial we learn how to install pigz.x86_64 on Amazon Linux 2.

What is pigz.x86_64

pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data.

We can use yum to install pigz.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pigz.x86_64.

Install pigz.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pigz.x86_64 using yum by running the following command:

sudo yum -y install pigz.x86_64

How To Uninstall pigz.x86_64 on Amazon Linux 2

To uninstall only the pigz.x86_64 package we can use the following command:

sudo yum remove pigz.x86_64

pigz.x86_64 Package Contents on Amazon Linux 2

/usr/bin/pigz
/usr/bin/unpigz
/usr/share/doc/pigz-2.3.4
/usr/share/doc/pigz-2.3.4/README
/usr/share/doc/pigz-2.3.4/pigz.pdf
/usr/share/man/man1/pigz.1.gz

References

Summary

In this tutorial we learn how to install pigz.x86_64 on Amazon Linux 2 using yum.