How To Install unzip on Fedora 34

unzip is A utility for unpacking zip files

Introduction

In this tutorial we learn how to install unzip on Fedora 34.

What is unzip

The unzip utility is used to list, test, or extract files from a zip archive. Zip archives are commonly found on MS-DOS systems. The zip utility, included in the zip package, creates zip archives. Zip and unzip are both compatible with archives created by PKWARE(R)’s PKZIP for MS-DOS, but the programs’ options and default behaviors do differ in some respects. Install the unzip package if you need to list, test or extract files from a zip archive.

We can use yum or dnf to install unzip on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install unzip.

Install unzip on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install unzip using dnf by running the following command:

sudo dnf -y install unzip

Install unzip on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install unzip using yum by running the following command:

sudo yum -y install unzip

How To Uninstall unzip on Fedora 34

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

sudo dnf remove unzip

unzip Package Contents on Fedora 34

/usr/bin/funzip
/usr/bin/unzip
/usr/bin/unzipsfx
/usr/bin/zipgrep
/usr/bin/zipinfo
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/de2718d1395bde450b3e9f14e922c1846638a2
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/d559756760bd7ac02f9eed59311f3d50ba6a2e
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/b4b70ff5441815654ec307607fa4772d5ee7e0
/usr/lib/.build-id/c4/b4b70ff5441815654ec307607fa4772d5ee7e0.1
/usr/share/doc/unzip
/usr/share/doc/unzip/BUGS
/usr/share/doc/unzip/README
/usr/share/licenses/unzip
/usr/share/licenses/unzip/COPYING.OLD
/usr/share/licenses/unzip/LICENSE
/usr/share/man/man1/funzip.1.gz
/usr/share/man/man1/unzip.1.gz
/usr/share/man/man1/unzipsfx.1.gz
/usr/share/man/man1/zipgrep.1.gz
/usr/share/man/man1/zipinfo.1.gz

References

Summary

In this tutorial we learn how to install unzip on Fedora 34 using yum and dnf.