How to Uncompress a ZIP File in Linux

ZIP files are everywhere — downloaded software packages, emailed attachments, archived project folders. On Linux, uncompressing them is straightforward once you know which tool to use and how the command options work. The method that makes most sense for you depends on your distribution, what's already installed, and whether you're working at the command line or prefer a graphical interface.

What Happens When You Uncompress a ZIP File

A ZIP archive bundles one or more files (and directories) into a single compressed container. Uncompressing — more precisely called extracting — reverses that process: it decompresses each file and writes it to disk in its original form.

On Linux, the primary command-line tool for this is unzip. Most distributions either include it by default or make it trivially easy to install. There are also alternative tools (7z, jar, Python's zipfile module) that handle ZIP archives, and most desktop environments offer GUI options too.

Checking Whether unzip Is Already Installed

Before running anything, confirm the tool is available: