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

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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