We use the Zip ubuntu package to extract zipped contents from a folder and also compress folders and files into zipped files. To install this package, enter the following commands
Run the following command to update apt-get itself, which ensures that you have access to the latest versions of anything you want to install:
Next install the package:
sudo apt-get install zip unzip
Optionally, If you are running a PHP application and require the zip extension you can run:
sudo apt-get update
sudo apt-get install php8.1-zip