Open In App

How to Install Zip and Unzip in Linux?

Zip is a command-line compression utility for files and directories. File and folder compression allows for quicker and more reliable file and folder transfer, storage, and email. Unzip, on the other hand, is a program that allows you to decompress files and directories.

Installing Zip:

You can install Zip by running the below command:



$ sudo apt-get install zip

Installing Zip

After installation, use the command to verify that the zip was installed correctly or not.

$ zip

Verify Zip installed properly

Installing Unzip:

Similarly, you can install Unzip by running the below command:



$ sudo apt install unzip

Installing Unzip

After installation, use the command to verify the unzip was installed correctly or not.

$ unzip

Verify Unzip installed properly

The zip and unzip utilities are already pre-installed in newer Linux distros like Ubuntu 20.04 and CentOS 8, so you’re good to go.

Article Tags :