General
cancel
Showing results for 
Search instead for 
Did you mean: 

HPUX utility to read Windows-produced RAR and WinZIP files?

SOLVED
Go to solution
Michael Mike Reaser
Valued Contributor

HPUX utility to read Windows-produced RAR and WinZIP files?

I will soon be required to read RAR and WinZIP archives, produced on a Windows XP system, on my HP9000 rp4440 running 11.11.

Is there a single utility that will read both? Is there a single *FREE* utility that will read both?

I've already tried searching the forums on this, and found a thread referencing bzip2, which would appear to handle at least the RAR stuff

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1164605

which pointed to the Utah repository

http://hpux.cs.utah.edu/hppd/hpux/Misc/bzip2-1.0.4/

Unfortunately, that last link doesn't exist. A search at Utah showed that the current version of bzip2 is 1.0.5, but its page is missing, too.

Is bzip2 the way I should go? If so, where else other than Utah can I find it?

Thanks!
There's no place like 127.0.0.1

HP-Server-Literate since 1979
14 REPLIES
Robert-Jan Goossens_1
Honored Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

Michael Mike Reaser
Valued Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

Robert-Jan, would you happen to know if bzip2 will work for both RARs and WinZIPs, or just RARs?
There's no place like 127.0.0.1

HP-Server-Literate since 1979
OldSchool
Honored Contributor
Solution

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

to the best of my knowledge bzip2 *doesn't* handle winrar files.

it will handle zip, bz2 and so on. see:
http://www.manpagez.com/man/1/bzip2/

gzip is also available, but it doesn't handle rar files either.

there is a program "unrar" that should handle the winrar stuff, but might not handle the regular zip files (I've not looked).

also see:
http://en.wikipedia.org/wiki/Unrar

there are free and commercial versions available for that one

Michael Mike Reaser
Valued Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

OldSchool:> to the best of my knowledge bzip2 *doesn't* handle winrar files.

Well, poo. Since I'm being forced to deal with both formats, I was hoping to find a single utility that would Play Nicely with RARs *and* Windows-generated ZIPs.

If you think it will let me see the contents of at least a WinZIP .zip file, I will ask our admins to grab and install bzip2 ASAP. Thank you!!!~
There's no place like 127.0.0.1

HP-Server-Literate since 1979
Robert-Jan Goossens_1
Honored Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

Hi again,

I was testing bzip2, unzip and winrar for unix.

Is there a single utility that will read both?

No, I could only use winrar for windows rar files and unzip for windows zip files.

http://www.win-rar.com/rarextras.html

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

Regards,
Robert-Jan
Steven E. Protter
Exalted Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

Shalom,

Seems like you need a single utility for each format.

You could write shell script wrapper to call these utilities. Then your wrapper script would be the single utility.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Mike Reaser
Valued Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

Robert-Jan - Thanks. If I understand you correctly, bzip2 will *NOT* work with WinZIP files, and only Unzip will. Correct?

SEP - Yep, that's my plan. But I couldn't start scripting my way out of this hole I'm in, until I knew what tools I could use. :-)
There's no place like 127.0.0.1

HP-Server-Literate since 1979
Robert-Jan Goossens_1
Honored Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

correct!
Steven Schweda
Honored Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

> [...] until I knew what tools I could use.
> :-)

It wouldn't hurt (much) to have all these
tools (or at least bzip2 and Info-ZIP UnZip)
lying around, so that you could see pretty
easily which ones actually _do_ work.
(Reality tends to be more reliable than
advice, too.)
Michael Mike Reaser
Valued Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

Steven S.> It wouldn't hurt (much) to have all these tools (or at least bzip2 and Info-ZIP UnZip) lying around, so that you could see pretty easily which ones actually _do_ work. (Reality tends to be more reliable than advice, too.)

I'd love to do so. However, in my present position I'm not a system administrator, my employer is a financial services company so getting permission to install New Stuff on our HPUX servers practically takes an Act Of Gawd, and thus I need ot be precise and selective with what packages I request for our systems. :-/
There's no place like 127.0.0.1

HP-Server-Literate since 1979
Steven Schweda
Honored Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

> I'd love to [...]

If your system administrator retards your
work with restrictive policies, perhaps you
should notify him. Or, if you can get to a
C compiler and "make", build the stuff
yourself. None of these things needs to be
installed by a deity in order to work.
(What's your job worth, really?)
Michael Mike Reaser
Valued Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

Steven:> If your system administrator retards your work with restrictive policies...

Actually, it's not the sys admins who are restricting me. As I said earlier in this thread, our company is a financial services company, and as such we need a utility that conforms to all possible security audits from any of the financial networks to which we connect - and "open source software" has sent our in-house security folks and auditors into a tizzy. :-(
There's no place like 127.0.0.1

HP-Server-Literate since 1979
Michael Mike Reaser
Valued Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

A-Ha! Hidden away on our systems was /opt/java1.5/bin/jar which, in combination with some binary FTPs and several dos2ux commands, seems to fit our needs.

The directory /opt/java1.5/bin needs to be added to /etc/PATH and/or however the PATH variable is being setup at login time thru our convoluted scripts, which is much simpler than giving our security, networking and admin folks collective coronaries. :-)
There's no place like 127.0.0.1

HP-Server-Literate since 1979
Steven Schweda
Honored Contributor

Re: HPUX utility to read Windows-produced RAR and WinZIP files?

> [...] and several dos2ux commands [...]

UnZip has a "-a[a]" option, which could
obviate the dos2ux effort, but I'll admit
that it is (dreaded) "open source software"
(whose defects can be seen and repaired as
needed).