How To Install gzip.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gzip.x86_64 in Amazon Linux 2. gzip.x86_64 is The GNU data compression program

Introduction

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

What is gzip.x86_64

The gzip package contains the popular GNU gzip data compression program. Gzipped files have a .gz extension. Gzip should be installed on your system, because it is a very commonly used data compression program.

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

Install gzip.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 gzip.x86_64 using yum by running the following command:

sudo yum -y install gzip.x86_64

How To Uninstall gzip.x86_64 on Amazon Linux 2

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

sudo yum remove gzip.x86_64

gzip.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gunzip
/usr/bin/gzexe
/usr/bin/gzip
/usr/bin/zcat
/usr/bin/zcmp
/usr/bin/zdiff
/usr/bin/zegrep
/usr/bin/zfgrep
/usr/bin/zforce
/usr/bin/zgrep
/usr/bin/zless
/usr/bin/zmore
/usr/bin/znew
/usr/share/doc/gzip-1.5
/usr/share/doc/gzip-1.5/AUTHORS
/usr/share/doc/gzip-1.5/ChangeLog
/usr/share/doc/gzip-1.5/NEWS
/usr/share/doc/gzip-1.5/README
/usr/share/doc/gzip-1.5/THANKS
/usr/share/doc/gzip-1.5/TODO
/usr/share/info/gzip.info.gz
/usr/share/man/man1/gunzip.1.gz
/usr/share/man/man1/gzexe.1.gz
/usr/share/man/man1/gzip.1.gz
/usr/share/man/man1/zcat.1.gz
/usr/share/man/man1/zcmp.1.gz
/usr/share/man/man1/zdiff.1.gz
/usr/share/man/man1/zforce.1.gz
/usr/share/man/man1/zgrep.1.gz
/usr/share/man/man1/zless.1.gz
/usr/share/man/man1/zmore.1.gz
/usr/share/man/man1/znew.1.gz

References

Summary

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