How To Install zip.x86_64 on Amazon Linux 2

In this tutorial we learn how to install zip.x86_64 in Amazon Linux 2. zip.x86_64 is A file compression and packaging utility compatible with PKZIP

Introduction

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

What is zip.x86_64

The zip program is a compression and file packaging utility. Zip is analogous to a combination of the UNIX tar and compress commands and is compatible with PKZIP (a compression and file packaging utility for MS-DOS systems). Install the zip package if you need to compress files using the zip program.

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

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

sudo yum -y install zip.x86_64

How To Uninstall zip.x86_64 on Amazon Linux 2

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

sudo yum remove zip.x86_64

zip.x86_64 Package Contents on Amazon Linux 2

/usr/bin/zip
/usr/bin/zipcloak
/usr/bin/zipnote
/usr/bin/zipsplit
/usr/share/doc/zip-3.0
/usr/share/doc/zip-3.0/CHANGES
/usr/share/doc/zip-3.0/LICENSE
/usr/share/doc/zip-3.0/README
/usr/share/doc/zip-3.0/README.CR
/usr/share/doc/zip-3.0/TODO
/usr/share/doc/zip-3.0/WHATSNEW
/usr/share/doc/zip-3.0/WHERE
/usr/share/doc/zip-3.0/algorith.txt
/usr/share/man/man1/zip.1.gz
/usr/share/man/man1/zipcloak.1.gz
/usr/share/man/man1/zipnote.1.gz
/usr/share/man/man1/zipsplit.1.gz

References

Summary

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