Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is a tarball? 2

Status
Not open for further replies.

jeanpierre

Technical User
Jun 14, 2001
137
CA
Very new to Linux and am getting swamped with terminologies.

Is a tarball a compressed folder?

If there is a file with the following name "anyfile.tar.gz"

Do I first have to unzipp this file? In RedHat what would the commands be?

Thanks/Merci

JP
 
Hey there,

newbie to newbie help here :)

A tar file is an archive e.g you can put 100's of files into it to make it easier to mvoe round etc. It isn't compressed though. - These fave a .tar extension usually and can be extacted with 'tar -xf somefile.tar'

A gzip file iz a compressed file, any file. These can be decompressed with 'gzip -d somefile.gz'

So putting this together, lots of things are distributed as gzipped tar files e.g. somefile.tar.gz or less commonly somefile.tgz. You can either go through the steps above to decompress/extract it or a shortcut is 'tar -xvzf somefile.tar.gz' where -v is cerbose and x is extract and z is to pass it through qzip to decompress it.

For more info on this try 'man gzip' and 'man tar' or 'man anything-you-want-to-find-out-aout'

Hope this helps and someone please correct me if I'm wrong.
[smurf]
01101000011000010110010001110011
 
Darn, sorry about the spelling :) I think I need some more sleep!

[smurf]
01101000011000010110010001110011
 
Haha, I didn't realise I had had that many beers lastnite :)

I hope its partially ledgible to everyone.

P.S Cheers (and sorry) to whoever edited my last post. [smurf]
01101000011000010110010001110011
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top