archive, aws, amazon linux 2,

Install Zip and Unzip on Amazon Linux 2

May 23, 2022 · 1 min read · Post a comment

Although the usage of zip and unzip is very simple there is at least one moment in our life when we are forced to use them. It may happen when you are migrating a website or some database export or something totally different. So here I’m going to show you how to install Zip and Unzip on Amazon Linux 2.

Prerequisites

  • Amazon Linux 2
  • sudo privileges

Install Zip on Amazon Linux 2

Step 1. Update EC2 Amazon Linux 2 system packages.

sudo yum update

Step 2. Install Zip.

sudo yum install zip

Step 3. Verify installation.

zip -h

Install Unzip on Amazon Linux 2

Step 1. Once Zip is installed, install Unzip.

sudo yum install unzip

Step 2. Verify installation.

unzip -h

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.