26

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

Mark Henderson
  • 68,316
  • 31
  • 175
  • 255
Noodles
  • 1,356
  • 3
  • 18
  • 29

5 Answers5

49

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

jar xf test.zip
Zac Thompson
  • 1,023
  • 10
  • 10
5

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.

dsteuernol
  • 66
  • 3
5

You can either use javas jar, or (in my opinion) even better: 7-zip. Most distros allow for it to be installed from repos, so you can use for example (on ubuntu):

sudo apt-get install p7zip-full
7z x huge.zip

Note how the command is not p7z or p7zip, but only 7z. Also the x option has no preceding -. Best of luck!

RemusKaos
  • 128
  • 1
  • 5
4

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/

Noodles
  • 1,356
  • 3
  • 18
  • 29
-2

I tried all the steps mentioned above to unzip the file, but failed miserably.

My last resort was to copy my zip file (11.1GB) into a hard drive and unzip it using 7 zip on Windows 8 OS.

Worked like a charm :D

Vinu Joseph
  • 105
  • 1