1843946 Members
2143 Online
110226 Solutions
New Discussion

zip query

 
amanya
Occasional Contributor

zip query

I have a query I have zipped a file in windows and tranferred it to my unix boxis there a way i can unzip it in unix.
10 REPLIES 10
H.Merijn Brand (procura
Honored Contributor

Re: zip query

unzip

you didn't say what OS release

My site also has it for HP-UX 10.20 and 11.00
http://mirrors.develooper.com/hpux/downloads.html

The HP porting center only supports 11i
http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.52/
Also note that this version requires the bloody libiconv and gettext packages to be installed, My ports are locale-free.

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

Re: zip query

hi,

as mentioned by Merijn above, you will require the unzip software to be able to unzip the file.

don't forget to transfer the file from the windows environment to the Unix Environment in binary mode.



hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Steven Schweda
Honored Contributor
Senthil Prabu.S_1
Trusted Contributor

Re: zip query

Hi,
Please refer this thread;
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1068189


HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Steven Schweda
Honored Contributor

Re: zip query

Wow. I wish I had thought of that.
Steven Schweda
Honored Contributor

Re: zip query

> Also note that this version requires the
> bloody libiconv and gettext packages to be
> installed, My ports are locale-free.

No, the documentation on that Web page _says_
that the program needs all that stuff, but
the source kit there appears to be
essentially identical to the official source
kit, and if the official source kit needs
anything more than a C compiler and a "make"
utility, I'm sure that it would be news to
the program developers.

> Languages used: C C++

I'm also unaware of an C++ code in there.

The added top-level Makefile might be handy,
but I suspect that reading the instructions
would obviate it. The added HPUX.Install
file says that unix/unix.c was changed, but
it looks the same to me. Of course,
unix/Makefile _was_ changed, so that GCC
_is_ required, where the original used "cc".

Note that the slightly out-of-date Zip 2.31
kit nearby is a bit more realistic about its
requirements:

> Languages used: C
> Build-time dependencies: gcc make

Similarly, GCC is not actually required,
merely some C compiler. Well, any C compiler
would have worked with the original "make"
file, anyway.

As I said, in the other (now twice)
referenced ITRC thread, I recommend that you
download the Info-ZIP source kits. And if
you have any problems, please report them to
me (or any of the other Info-ZIP developers).
H.Merijn Brand (procura
Honored Contributor

Re: zip query

Steven, I might have placed my wording wrong. My port does not include dependencies on iconv and gettext, which proves you are right.
The HP porting center however enables nls always, which imho is a bad move.
So you are right that zip doesn't need or require gettext/iconv (of course you are), but as the porting center ships shared objects that depend on these two, the final binaries won't work if you don't have them installed.

Thanks for your work.
Feel free to contact me off-list if you want anything special happening to my binary ports.
h dot m dot brand at procura dot nl

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Sp4admin
Trusted Contributor

Re: zip query

Hi amanya,
There is a utility called ZIP for unix. you will need to downloaded it and install.

ZIP utilities have been installed on all the HP UNIX servers. They are in /usr/local/bin. The man pages were also installed.
They are compatible with PKZIP and the DOS and Windows zip files.

sp,
Gurumanickam
Frequent Advisor

Re: zip query

hi

You'll get a link from the following forum answer, where you can download the zip program. This is gzip&tar file, gunzip and untar it then u can use it.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1068189

Guru
Be an expert
Steven Schweda
Honored Contributor

Re: zip query

That's three.