How to Install Zip and Unzip in Linux

Zip is a command-line utility tool used for compressing files and folders. Compression of files & folders enables faster and more efficient transfer, storage, and emailing of files and folders. On the other hand, unzip is a utility tool that helps you decompress files and folders.

Benefits of zipping files:

  • Compressed/zipped files take up less disk space, leaving you with more space to work with.
  • Zipped files are easy to transfer including uploading, downloading, and attaching them on email.
  • You can easily decompress zipped files on Linux, Windows, and even mac.

In this topic, we focus on how you can install the zip and unzip utilities on various Linux distributions.

Let’s now see how you can install these useful command-line utilities.

How to Install Zip/Unzip in Debian/Ubuntu/Mint

For Debian-based distributions, install the zip utility by running the command.

$ sudo apt install zip

After installation, you can confirm the version of zip installed using the command.

$ zip -v

For the unzip utility, execute a similar command as shown.

$ sudo apt install unzip

Again, just like zip, you can confirm the version of the unzip utility installed by running.

$ unzip -v

How to Install Zip/Unzip in RedHa/CentOS/Fedora

Just like on Debian distributions, installing zip and unzip utilities on Redhat distros is quite simple.

To install zip, simply execute:

$ sudo dnf install zip

For the unzip utility, install it by running:

$ sudo dnf install unzip

How to Install Zip/Unzip in Arch/Manjaro Linux

For Arch-based distros, run:

$ sudo pacman -S zip

For the unzip utility,

$ sudo pacman -S unzip

How to Install Zip/Unzip in OpenSUSE

On OpenSUSE, run the command below to install zip.

$ sudo zypper install zip

And to install unzip, execute.

$ sudo zypper install unzip

For more information, read our article that shows how to create and extract a zip files in Linux.


For newer versions of Linux distros such as Ubuntu 20.04 and CentOS 8, the zip and unzip utilities already come pre-installed and you are good to go.

We covered how to install zip and unzip command-line tools on various Linux distributions and the benefits that come with compressing files.

Tutorial Feedback...
Was this article helpful? If you don't find this article helpful or found some outdated info, issue or a typo, do post your valuable feedback or suggestions in the comments to help improve this article...

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.