How to unzip very large files

Some windows programs use a compression for larger files that is not compatible with the linux unzip command. Resulting in the following error:

need PK compat. v4.5 (can do v2.1)

There is a special program for handling these large files: p7zip

Run these commands to install and run:

$ curl -o p7zip_4.20_src.tar.bz2 http://internap.dl.sourceforge.net/sourceforge/p7zip/p7zip_4.20_src.tar.bz2
$ bunzip2 p7zip_4.20_src.tar.bz2

$ tar xvf p7zip_4.20_src.tar

$ cd p7zip_4.20_src

$ make

$ make install

$ 7za x largefilename.zip

This saved my ass… let me know how it works for you.

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s