sudo: unzip: command not found

Posted November 14, 2015 128.1k views
MySQLWordPressDNSSystem ToolsVPN

I’m moving wordpress (cpanel) to the server, it allowed me to enter the database but moemnto of the wp-content extarer I get this error


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.

Submit an Answer
5 answers
  1. To install zip unzip package in your server - sudo apt-get install zip unzip
  2. Now you can upload the zip into your target destination folder by FTP like Filezilla or command prompt.
  3. Login to Putty and write command cd /var/www/html/otherdir/yourzip_location
  4. sudo unzip

You are done. Hope it helps.

Hello, all

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

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

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

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

Hope that this helps!

Apology for not responding sooner, if I decompress. @BrookDO
Thank you @getrix

sudo apt-get install unzip
sudo: apt-get: command not found