HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

how to unpack

 
SOLVED
Go to solution
navin
Super Advisor

how to unpack

Hi i forgot ..as i did not do it in a while -
i have a patch as .tgz format - how do i unpack and install
please advice
thanks
Learning ...
4 REPLIES
James R. Ferguson
Acclaimed Contributor
Solution

Re: how to unpack

Hi:

# gzip -d /tmp/hpux*.tgz
# tar -xvf /tmp/hpux*.tar

This will deposit a script called '/tmp/create_depot_hp-ux_11'. Run it to create '/tmp/depot'. Then:

# swinstall -s /tmp/depot -x autoreboot=true -x patch_match_target=true

Regards!

...JRF...
Steven Schweda
Honored Contributor

Re: how to unpack

> # gzip -d /tmp/hpux*.tgz
> # tar -xvf /tmp/hpux*.tar

Buy a pipeline? They're cheap.

gzip -dc /tmp/hpux*.tgz | tar -xf -

I find that "v" in a "tar" command often
spews so much stuff that any real problems
are obscured.
Kapil Jha
Honored Contributor

Re: how to unpack

.tgz=tar+gzip

so first have to unzip it with
gunzip
then untar it.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Kranti Mahmud
Honored Contributor

Re: how to unpack

Hi Navin,

just execute the following commands:

# gzip -d /tmp/hpux*.tgz
# tar -xvf /tmp/hpux*.tar


rgds-Kranti
Dont look BACK as U will miss something INFRONT!