To install Zip and Unzip on Rocky Linux 9, follow the steps below.
Step 1 : Update
Step 2 : Install Zip
Step 3 : Install Unzip
Step 4 : To compress a directory, use the following command:
Step 5 : To extract a zip file, use the following command:
Step 6 : To extract a zip file into a specific directory, use the -d
parameter:
Congratulations! You have successfully installed Zip and Unzip on Rocky Linux 9 .