Question

How to install zip in ubuntu?

I’m having this request error in the ubuntu script install ZIP Required ZIP extension for backuping data Not installed

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you only need zip and not a zip extension for a particular language (like PHP) this will do the trick:

apt-get update
apt-get install zip unzip

If you are running a PHP application and require the zip extension you can run:

apt-get update
apt-get install php7.0-zip 

If you only need zip and not a zip extension for a particular language (like PHP) this will do the trick:

apt-get update
apt-get install zip unzip

If you are running a PHP application and require the zip extension you can run:

apt-get update
apt-get install php7.0-zip 

If you only need zip and not a zip extension for a particular language (like PHP) this will do the trick:

apt-get update
apt-get install zip unzip

If you are running a PHP application and require the zip extension you can run:

apt-get update
apt-get install php7.0-zip 

Hello, all

If you need zip/unzip you can use the following command:

sudo apt-get update sudo apt-get install zip unzip

If you want to install it for PHP 7.4 as well use:

sudo apt-get update sudo apt-get install php7.4-zip

Hope that this helps! Regards, Alex

This comment has been deleted

This comment has been deleted

You may prefer using :

apt-get install zip unzip -qy

to have a quiet -q and more important -y to force Yes when being ask:

After this operation, 1,117 kB of additional disk space will be used.
Do you want to continue? [Y/n]

adding a [solved] tag to make it easier for other to find this fix.

it worked for me… thank you @ryanpq