How To Install gzip on Fedora 36

In this tutorial we learn how to install gzip in Fedora 36. gzip is GNU data compression program

Introduction

In this tutorial we learn how to install gzip on Fedora 36.

What is gzip

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 or dnf to install gzip on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gzip.

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

sudo dnf -y install gzip

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

sudo yum -y install gzip

How To Uninstall gzip on Fedora 36

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

sudo dnf remove gzip

gzip Package Contents on Fedora 36

/etc/profile.d/colorzgrep.csh
/etc/profile.d/colorzgrep.sh
/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/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/cabc7be62dd815e0bd8fd952dbed0b17d0b269
/usr/share/doc/gzip
/usr/share/doc/gzip/AUTHORS
/usr/share/doc/gzip/ChangeLog
/usr/share/doc/gzip/NEWS
/usr/share/doc/gzip/README
/usr/share/doc/gzip/THANKS
/usr/share/doc/gzip/TODO
/usr/share/info/gzip.info.gz
/usr/share/licenses/gzip
/usr/share/licenses/gzip/COPYING
/usr/share/licenses/gzip/fdl-1.3.txt
/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 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).