Unzip Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Unzip Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

unzip

Extract compressed files in a ZIP archive.

Maintainer: Santiago Vila



Section: utils

Install unzip

  • Debian apt-get install unzip Click to copy
  • Ubuntu apt-get install unzip Click to copy
  • Alpine OS apk add unzip Click to copy
  • Arch Linux pacman -S unzip Click to copy
  • Kali Linux apt-get install unzip Click to copy
  • CentOS yum install unzip Click to copy
  • Fedora dnf install unzip Click to copy
  • Raspbian apt-get install unzip Click to copy
  • macOS brew install unzip Click to copy

Extract compressed files in a ZIP archive.

How to use unzip?

Below are few example commands for unzip that you can use in the terminal.

Extract zip file(s) (for multiple files, separate file paths by spaces):
unzip file(s)Click to copy
Extract zip files(s) to given path:
unzip compressed_file(s) -d /path/to/put/extracted_file(s)Click to copy
List the contents of a zip file without extracting:
unzip -l file.zipClick to copy
Extract the contents of the file(s) to stdout alongside the extracted file names:
unzip -c file.zipClick to copy
Extract a zip file created in windows, containing files with non-ascii (chinese) filenames:
unzip -O gbk file.zipClick to copy
Installation of latest unzip command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.