How to Install unzip on Linux CentOS and Fedora

January 31, 2023 / How-to Guide

This article explains how to install unzip on RPM-based Linux distributions such as CentOS Stream, AlmaLinux, Rocky Linux, and Fedora.

Note: CentOS Linux (7/8) has reached End of Life (EOL) and is no longer recommended for production use. Users are advised to migrate to supported alternatives like CentOS Stream, AlmaLinux, or Rocky Linux.

Unzip is a utility that allows you to extract compressed ZIP files and directories from the command line.

Install unzip on RPM-Based Linux Systems:

  1. Open the terminal.
  2. Install unzip
    sudo yum install unzip

    On newer systems (Fedora, AlmaLinux, Rocky Linux), yum may redirect to dnf automatically.

  3. Verify the installation path:
    which unzip

    Example output:

    /usr/bin/unzip
  4. Verify the installed version:
    unzip -v

    This command displays detailed version and build information.

Installing packages on Linux servers?
For complete control over software and system configuration, consider using a Linux VPS environment with root access.

You have successfully installed unzip on your RPM-based Linux system. You can now extract ZIP files using the unzip command from the terminal.

Spread the love