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:
- Open the terminal.
- Install unzip
sudo yum install unzip
On newer systems (Fedora, AlmaLinux, Rocky Linux), yum may redirect to dnf automatically.
- Verify the installation path:
which unzip
Example output:
/usr/bin/unzip
- Verify the installed version:
unzip -v
This command displays detailed version and build information.
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.