How To Install unzip on Rocky Linux 8

In this tutorial we learn how to install unzip on Rocky Linux 8. unzip is A utility for unpacking zip files

Introduction

In this tutorial we learn how to install unzip on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install unzip.

Install unzip on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install unzip

Install unzip on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

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

sudo dnf remove unzip

unzip Package Contents on Rocky Linux 8

/usr/bin/funzip
/usr/bin/unzip
/usr/bin/unzipsfx
/usr/bin/zipgrep
/usr/bin/zipinfo
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/3fb530e31ba6c888f1abab063a1b75cd8bc986
/usr/lib/.build-id/49/3fb530e31ba6c888f1abab063a1b75cd8bc986.1
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/cf9f173f8f17d8213da0df0a0e89ae5f7e6f70
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/72582adbaace6633d2b164af7aa979400aa8bb
/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
/usr/bin/funzip
/usr/bin/unzip
/usr/bin/unzipsfx
/usr/bin/zipgrep
/usr/bin/zipinfo
/usr/lib/.build-id
/usr/lib/.build-id/57
/usr/lib/.build-id/57/a7fd95a36075bb86881a8c60773d4d81ed7af5
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/68c017153e4d9c0094bcfa2bfd0bba883ac178
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/35847094ff624babfbaf01054c007a894c0778
/usr/lib/.build-id/a5/35847094ff624babfbaf01054c007a894c0778.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 Rocky Linux 8 using yum and dnf.