Today I downloaded a zip file from one of our clients at work and tried to unzip the archive file, however, I got the following error:
$ unzip
   skipping: test.csv  need PK compat. v4.5 (can do v2.1)
To solve this issue, I had to install p7zip. On Red Hat/CentOS, use yum:
$ sudo yum install p7zip
On Ubuntu, use apt-get:
$ sudo apt-get install p7zip
And then use command 7za to extract the file:
$ 7za e
7-Zip (A) [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive:

Extracting  test.csv

Everything is Ok

Size:       56433
Compressed: 7529

Leave a Reply

Your email address will not be published. Required fields are marked *