To install Zip and Unzip utilities on CentOS 7, follow these steps:
Step 1 : Ensure your package list is up to date by running:
Step 2 : Install Zip and Unzip
Step 3 : To create a Zip archive of a directory, use the following command:
Step 4 : To extract files from a Zip archive, use the command:
Step 5 : You can specify a directory to which you want to extract the contents using the -d
option:
Congratulations! You have successfully installed Zip and Unzip utilities on CentOS 7.