1833007 Members
2721 Online
110048 Solutions
New Discussion

Where to get unzip?

 
SOLVED
Go to solution
dictum9
Super Advisor

Where to get unzip?

This is for 11.23 Itanium.

I got a file .zip format I need to unzip. Where do I install unzip from?
9 REPLIES 9
Steven Schweda
Honored Contributor
Solution

Re: Where to get unzip?

If you have a C compiler, the source is
available from:

http://www.info-zip.org/
http://www.info-zip.org/UnZip.html

Sadly, most of the HP-UX binary links there
seem to be broken and/or obsolete. Perhaps:

http://hpux.ee.ualberta.ca/hppd/hpux/Misc/unzip-5.52/

Or search this forum for previous
discussions of this topic.
John Kittel
Trusted Contributor

Re: Where to get unzip?

we frequently recieve distributions of software to run on hp-ux from vendors who zip the software up on a PC. I just unzip it on a PC with WinZip, then ftp the appropriate bits over to hp-ux...
Andrew Rutter
Honored Contributor

Re: Where to get unzip?

hi,

you can get gzip from the porting centre if you dont have it already


http://hpux.connect.org.uk/hppd/hpux/Gnu/gzip-1.3.5/

Andy
Andrew Rutter
Honored Contributor

Re: Where to get unzip?

hi,

you should already have it by default though

check with

# swlist -l file |grep -i gunzip
SW-DIST.GZIP: /usr/contrib/man/man1.Z/gunzip.1
SW-DIST.GZIP2: /usr/contrib/bin/gunzip


then simply #gunzip

Andy
John Kittel
Trusted Contributor

Re: Where to get unzip?

I don't know that much about this, but fwiw I'm fairly sure that standard gzip on hp-ux can't handle .zip format files, because they are different compression algoithms. Winzip however IS able to handle both gzip and zip format files. Maybe someone else can provide a complete explanation; or you'll need to do the research on your own.
Steven Schweda
Honored Contributor

Re: Where to get unzip?

http://www.gzip.org/
http://www.math.utah.edu/docs/info/gzip_toc.html
http://www.math.utah.edu/docs/info/gzip_2.html#SEC5

I quote:

Files created by zip can be uncompressed by gzip only if they have a single member
compressed with the 'deflation' method. This feature is only intended to help conversion of
tar.zip files to the tar.gz format. To extract zip files with several members, use unzip
instead of gunzip.
dictum9
Super Advisor

Re: Where to get unzip?


gunzip doesn't handle that .zip format.

The problem arose when I downloaded a patch bundle, and being perfectly aware that hpux doesn't have unzip, I selected the .tar or .tgz options and the file was saved as .zip anyway. I tried many times and it would pick the same useless format and extension. Why would it chose .zip when I am downloading patches for hpux which self-evicently does not have unzip is bizarre.

There is a bug somewhere, with the web site or else there is a problem with the browser (I used Mozilla which comes with 11.23)
H.Merijn Brand (procura
Honored Contributor

Re: Where to get unzip?

The first reply you got referred to UnZip.

Precompiled binary depots are also available from HP related sources, like here:

p://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.52/

I also have precompiled versions on my site for older HP-UX releases

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Oviwan
Honored Contributor

Re: Where to get unzip?

Hy

If you still search an UnZip utility, here is a list of them:

http://updates.oracle.com/unzips/unzips.html

Regards