Link to home
Start Free TrialLog in
Avatar of Anthony Lucia
Anthony Lucia

asked on

Linux and zip files

I was given a zip file apparently zipped in linux

Most of my compression and decompression are with tar a gunzip, so I am unfamiliar with zip in side of Linux

So I copied the file to a windows machine, and did the following

C:\new>unzip ACNX.7z
Archive:  ACNX.7z
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in ACNX.7z,
        and cannot find ACNX.7z.zip, period.

That would be the infozip program

SO this does not work.  How can I unzip this in Linux

How can I unzip this in Windows?

Thanks
SOLUTION
Avatar of Peter Hutchison
Peter Hutchison
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Boris Virc
Boris Virc

If you want to uncompress .7z archives, you must install 7zip on your Linux machine. Here is step by step to do this on Centos:

1. First install RPMforge repository following this instructions http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

2. Install p7ip package using YUM:
yum install p7ip

Open in new window

3. To extract your archive file, use this command:
7za x [filename]

Open in new window