D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] tgz files



You can do:

tar zxvf <filename>

it might bitch about the file being .tgz so if it
complains then do the rename as suggested.
The "z" in the tar command tells it to uncompress
first.

Col.


On 24 Sep 2001 14:32:49 +0100, John Horne wrote:
> On 22-Sep-2001 at 20:56:21 Paul Sutton wrote:
> > I know this is probably a real basic question but how do I uncompress .tgz
> > files,  I have tried
> > 
> > tar xvzf filename.tgz
> > gzip -d filename.tgz
> > 
> Under Solaris I would simply rename the file:
>   mv filename.tgz filename.tar.gz
> 
> 
> then unzip with gunzip, and then untar it. Solaris 8 has included the GNU
> tar on its additional software CD, so no more of that nonsense for us...:-)
> 
> 
> John.
> 
> ------------------------------------------------------------------------
> John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
> E-mail: jhorne@xxxxxxxxxxxxxx
> PGP key available from public key servers
> --
> The Mailing List for the Devon & Cornwall LUG
> Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
> message body to unsubscribe.



-- 
===========================================
Colin Ford               PipingHot Networks
Software Engineer        +44 (0)1364 655510 

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly