Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using RHEL 5.6 and unzip-5.52-3.el5. I'm trying to unzip a big file, but I get the error:

unzip -o test.zip -d unzip/
error:  Zip file too big (greater than 4294959102 bytes)
Archive:  test.zip
warning [test.zip]:  4294967296 extra bytes at beginning or within zipfile

Is there another program that can work with large zip files or do I have to wait until unzip 6 comes to RHEL? (might be years!)

Thanks

share|improve this question

3 Answers 3

I've found good success with 7-zip, it appears they have a fedora core build as well that might work for you, the downloads can be found at http://www.7-zip.org/download.html. Failing the fedora one, you can download the source and/or binary and try that.

share|improve this answer
    
I played around with 7-zip (7z), but when extracting files from my zip it kept saying unrecognised format. –  Noodles Feb 15 '11 at 1:54
1  
Check if 7z isn't an alias for 7zr. Try running 7za. –  Hubert Kario Feb 15 '11 at 3:36
up vote 2 down vote accepted

I finally ended up rolling my own rpm's for unzip 6, they can be found here: http://www.noodles.net.nz/2011/02/15/unzip-6-for-rhel-5-6/

share|improve this answer
    
you can select your own answer as the one that solved the problem –  Hubert Kario Feb 15 '11 at 3:37
    
I compiled the current unzip-6.0 from scratch - it didn't fix the problem. –  reinierpost Jan 10 '12 at 10:28
    
rpm at noodles.net.nz/2011/02/15/unzip-6-for-rhel-5-6 worked for me –  BKS Feb 28 '13 at 10:50

If you've got Java on the box, you can use

jar xf test.zip
share|improve this answer
1  
saved me from having to bug the SAs to install unzip6. Thanks! –  plor May 15 '13 at 20:19
1  
life saved. [ beer token ] –  Ade Oct 14 '13 at 22:17
    
I had a 16+GB zip file downloaded from my wife's phone using AirDroid, and this trick saved me a lot of trouble! –  Bob Bell Oct 10 at 18:52
    
Did the trick for me on Ubuntu. Thanks. –  Chris Oct 26 at 20:18
    
You literally saved my day. Thanks a bunch! –  Hamdi Nov 27 at 21:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.