
Both methods leverage the unzip package you previously installed to decompress ZIP files. Similar to compressing files, you get two methods for decompressing files, via Command-Line and GUI. But perhaps you need to extract or decompress the contents of the zip file.
FILE2FOLDER SCRIPT HOW TO
In the previous examples, you’ve learned how to zip files. Successfully created zip archive Decompressing Files with the Unzip Package The commands below are using the apt package manager to install the zip and unzip packages.

To install the zip and unzip packages, launch the terminal on your desktop first and run the commands below depending on the Linux distributions you’re working on.Įach of the commands below begins with the sudo command to handle elevated permissions. Let’s now go through how to install these packages with the apt package manager. To compress and decompress into ZIP files with Linux, you’ll need a couple of packages called zip and unzip. Still, you could also work with other Linux distributions, such as Debian-based (like Unbuntu or Kali Linux), CentOS, or Fedora. The demonstrations throughout this tutorial were made in Kali Linux 2021.2. If you’re an IT pro struggling with too many password reset requests in Active Directory, check out Specops uReset, a secure SSPR solution. Zipping Files with the Same File Extension.Viewing Zip File Contents Without Extracting.Testing the Compressed Files Before Extracting.Decompressing Files with the Unzip Package.Adding New Files to an Existing Zip File.Deleting the Original File after Archiving.
