This site contains affiliate links. If you make a purchase, we may earn a commission.

How To Unzip Files in Linux (4 Methods)



Ever found yourself in a situation where you’ve downloaded a zipped file on your Linux system and you’re scratching your head, wondering how to set the contents free? Fear not, brave adventurer! This guide will equip you with not one, not two, but five different ways showing how to unzip a file in Linux! By the end of it, you’ll be unzipping files faster than a kangaroo on a trampoline!

We are focusing on the Ubuntu variant in this how to guide however these methods will work with most linux distributions.

Table of Contents

Video guide showing how to extract zip files using web browser.

How To Unzip Files Using File Roller

For those who prefer to point and click rather than type, the File Roller (or Archive Manager) is your trusty steed.

  1. Navigate to your zipped file using the file explorer. Navigate to file
  2. Right-click on the file and select ‘Open With Archive Manager’. Open with Archive Manager
  3. Click ‘Extract’. It’s like clicking ‘Open Sesame’ on a treasure chest. Click Extract

How To Unzip Files Using Terminal

Ah, the classic unzip command. It’s like the Swiss Army Knife of unzipping files—always handy, and always gets the job done.

  1. First, you need to open a terminal. Press Ctrl + Alt + T to pop one open. It’s like summoning a genie but for commands. Open Terminal
  2. Navigate to the directory with the zipped file. For example, if your file is in the Downloads directory, type: cd Downloads Navigate to Directory
  3. Now, simply type unzip followed by the zip file name., replacing filename.zip with the name of your file. unzip filename.zip Unzip File And voila! Your file is as free as a bird ! To get a full list of options, just enter unzip on it’s own with no extra options or parameters. Unzip options

How To Unzip Files Using Firefox

Another method that requires no new software is to use firefox browser and our very own ezyZip online unzipper.

  1. Navigate to the zip extractor page on ezyZip.
  2. Select the file zip file you wish to extract. Navigate to ezyZip
  3. Click on the green “Save” button to save files to your desired folder. Select File Read the full zip extraction instructions on the page itself.

How To Unzip Files Using 7-Zip

Meet 7-Zip, the Hercules of file compression tools. You’ll need to install it first, though.

  1. First, you need to install 7-Zip. We like the p7zip desktop GUI. Use the following command to install it: sudo snap install p7zip-desktop install p7zip-desktop
  2. Search and open “P7Zip Desktop”. open p7zip desktop
  3. Navigate to the file you wish to extract and click on “Extract” Navigate to Directory
  4. Select your destination folder and click “OK”. Extract File That’s all there is to it!

FAQs

How do I unzip a file in Linux terminal?

In the Linux terminal, you can use the unzip command to extract the contents of a ZIP file:

unzip yourfile.zip

How to unzip a file in command?

Whether you’re on Linux, Unix, or other command-line interfaces that support the unzip utility, you can use the following command:

unzip yourfile.zip

How do I unzip a file in Unix?

Unix systems also use the ‘unzip’ utility. To unzip a file, simply enter:

unzip yourfile.zip

How do I unzip a file in a folder in Linux?

If you wish to extract the contents of a ZIP file to a specific directory in Linux, use the ‘-d’ option followed by the desired directory path:

unzip yourfile.zip -d /path/to/directory

Replace ‘/path/to/directory’ with your desired directory path.