How To Install unzip.x86_64 on Amazon Linux 2

In this tutorial we learn how to install unzip.x86_64 in Amazon Linux 2. unzip.x86_64 is A utility for unpacking zip files

Introduction

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

What is unzip.x86_64

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

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

sudo yum -y install unzip.x86_64

How To Uninstall unzip.x86_64 on Amazon Linux 2

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

sudo yum remove unzip.x86_64

unzip.x86_64 Package Contents on Amazon Linux 2

/usr/bin/funzip
/usr/bin/unzip
/usr/bin/unzipsfx
/usr/bin/zipgrep
/usr/bin/zipinfo
/usr/share/doc/unzip-6.0
/usr/share/doc/unzip-6.0/BUGS
/usr/share/doc/unzip-6.0/README
/usr/share/licenses/unzip-6.0
/usr/share/licenses/unzip-6.0/COPYING.OLD
/usr/share/licenses/unzip-6.0/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.x86_64 on Amazon Linux 2 using yum.