How to install zip?

Hi,
how to install zip on freebsd? can't unzip my files. please help

Code:
localhost# cd /usr/ports/archive/zip
/usr/ports/archive/zip: No such file or directory.
 
Code:
localhost# gunzip *filename 
gunzip: *filename : unknown suffix -- ignored
localhost# unzip *filename 
unzip: Command not found.
 
First, gunzip comes with the base system, and only works on .gz files not .zip files.

Second, did you actually install the /usr/ports/archivers/zip port? Does /usr/local/bin/zip exist?

Adam
 
hi,
i installed zip and unzip
entered to /usr/ports/archivers/zip
Code:
make
make install

/usr/ports/archivers/unzip
make
make install

did a rebbot
but it still not working

Code:
 unzip file.zip
Archive:  file.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.
 
Back
Top