How to unzip on Ubuntu

More for my reference but extracting Zip files in Ubuntu from the command line is pretty straight forward

view plain print about
1$ sudo apt-get install unzip

This should install the unzip utility for you. Then to unzip it's pretty straight forward

view plain print about
1$ unzip {file}
Where {file} is your .zip archive.

Posted: 21-Apr-2009

View: 40322

Permalink: here

Comments

right on point

#1 OKuboyejo Damilola
05/Sep/11 8:05 AM

follow up... I've been trying to install the unzip command for the past hour now but I get this error:
Err http://us.archive.ubuntu.com karmic/main unzip 6.0-1
404 Not Found [IP: 91.189.92.182 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_6.0-1_i386.deb 404 Not Found [IP: 91.189.92.182 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

#2 shy.newbie
01/Dec/11 9:26 PM

I am getting that 404 error also.

#3 Marcus Whybrow
17/Dec/11 7:43 PM

command is unzip -Z yourfile.zip

#4 xa4
08/Jan/12 5:01 PM