Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Which Linux zip program can be used to unzip Altera zip files?

Which Linux zip program can be used to unzip Altera zip files like:

ftp://ftp.altera.com/outgoing/devkit/12.1/arriavgt_5agtfd7kf40_fpga_v12.1.0.1.zip

$ file arriaVGT_5agtfd7kf40_fpga_v12.1.0.1.zip 
arriaVGT_5agtfd7kf40_fpga_v12.1.0.1.zip: Zip archive data, at least v2.0 to extract
$ unzip -v |head -1
UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send
$ unzip arriaVGT_5agtfd7kf40_fpga_v12.1.0.1.zip 
Archive:  arriaVGT_5agtfd7kf40_fpga_v12.1.0.1.zip
  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.

So which Linux program can be used to unzip it?

gzip and bzip2 does not seem to work either. I was hoping that Altera would go for something like a gzip'ed tar file for other than Windows self extracting exe files.

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    That version of unzip on Linux works fine on that file from that URL. Sounds like your local copy of the file is corrupted. Here is the MD5 of mine.

    
    $ md5sum ~/Downloads/arriaVGT_5agtfd7kf40_fpga_v12.1.0.1.zip 
    b5d11349bc07fa99409b68d4b8aca27a  arriaVGT_5agtfd7kf40_fpga_v12.1.0.1.zip
    $ 
    
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    That version of unzip on Linux works fine on that file from that URL. Sounds like your local copy of the file is corrupted. Here is the MD5 of mine.

    
    $ md5sum ~/Downloads/arriaVGT_5agtfd7kf40_fpga_v12.1.0.1.zip 
    b5d11349bc07fa99409b68d4b8aca27a  arriaVGT_5agtfd7kf40_fpga_v12.1.0.1.zip
    $ 
    

    --- Quote End ---

    Thanks. That must be the case if you just downloaded it. My md5sum is:

     942f374f7c4e4e0398ffdae2172f2739  arriaVGT_5agtfd7kf40_fpga_v12.1.0.1.zip
    

    I will try to download it again.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    BTW: It would also be great if Altera provided md5sum, or sha512sums or similar with all their downloads...

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    My new download had a md5sum which was identical to yours and unzip worked fine.