How to install Zip or Unzip Files on CentOS Stream 10

To install and use zip and unzip tools on CentOS Stream 10, follow these steps:

Step 1 : Run the following command to update your system packages:

Step 2 : Install the zip package using:

Step 3 : Install the unzip package using:

Step 4 : To compress a directory into a zip file, use:

Step 5 : Example - Extract a Zip Archive

To extract a zip file, use:

Step 6 : To extract a zip file to a specific directory, use:

Congratulations! You have successfully installed and learned how to use zip and unzip on CentOS Stream 10.