How to Setup Zip and Unzip in Linux

September 26, 2023 / Tutorials

When you frequently transition between Windows and Unix systems, use Zip as a versatile file compression and packaging utility. It functions across various OS, conserving bandwidth, reducing file sizes for faster transfers, optimising disk space, and providing password-protected .zip file support with excellent compression ratios.

  1.  Install Unzip in Debian and Ubuntu:
    Installing unzip is an easy process! For Ubuntu and Debian, simply use the following command:

    sudo apt install unzip
    1. To create zip files, you need to install ‘zip’ as well. Executing the following command:
      sudo apt-get install zip
  2. Install Unzip on Linux CentOS and Fedora:
    1. This process is also easy and executes with the following command:
      sudo yum install unzip
    2. Once  the installation is finished, you can verify the path using the following command:
      which unzip
    3. Upon running the command in the terminal, you should receive an output resembling this:
    4. Once you run the command in the terminal, the output should appear as follows:
    5. You can also ensure that everything is properly installed by using the command below. It will provide a verbose output with details about the unzip utility.
      unzip -v

In this way, you can install Zip and Unzip in Linux. For more information on Linux, visit our knowledge base.

Spread the love