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.
For Debian-based distributions, install the zip utility by running the command.
After installation, you can confirm the version of zip installed using the command.
For the unzip utility, execute a similar command as shown.
Again, just like zip, you can confirm the version of the unzip utility installed by running.
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:
For the unzip utility, install it by running:
How to Install Zip/Unzip in Arch/Manjaro Linux
For Arch-based distros, run:
For the unzip utility,
How to Install Zip/Unzip in OpenSUSE
On OpenSUSE, run the command below to install zip.
And to install unzip, execute.
For more information, read our article that shows how to create and extract a zip files in Linux.
Post a Comment