1753318 Members
7147 Online
108792 Solutions
New Discussion юеВ

Re: 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 4
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!