-
January 27th, 2003, 01:44 AM
#1
What is a tgz file.
yeah a lot of you are going to criticize me about being a newbie but oh well maybe there is one nice person out that who can tell me what a tgz file is.
Thank you anyways
-
January 27th, 2003, 01:49 AM
#2
A .tgz file is a zipped tarball. Basically, take a .tar file (which is a collection of files all stuck together), then compress it (with gzip or compress). You'll also see the extension .tar.gz.
/* You are not expected to understand this. */
-
January 27th, 2003, 02:45 AM
#3
-
January 27th, 2003, 05:24 AM
#4
murder dont feel dumb or what ever i jumped right in to linux and got a handful and i wondered the exact same thing, so its cool, you will learn its all trial and error man. dont take it to heart, i mean, nobody was born a kevin mitnick....right?take it easy.
__________________
"Just because I dont know it, don't assume I can't understand it". -me
Don\'t be a bitch! Use Slackware.
-
January 27th, 2003, 06:01 AM
#5
Basically, take a .tar file (which is a collection of files all stuck together), then compress it (with gzip or compress). You'll also see the extension .tar.gz.
Correction. If you compress it with gzip or gunzip, you'll see the extension .tar.gz. BUT if you compress it with compress, you'll get .tar.Z.
Addition. To extract the files compressed in .tar.gz :
gzip -dc filename.tar.gz | tar xvf -
To extract the files compressed in .tar.Z :
zcat filename.tar.Z | tar xvf -
There is also a version of zcat that can uncompress gzipped files, and if that's the version you're using, you can also extract the files compressed in .tar.gz :
zcat filename.tar.gz | tar xvf -
Note. compress/uncompress, gzip and zcat are available on many platforms, not only *nix. Just search google. Happy learning
Peace always,
<jdenny>
Always listen to experts. They\'ll tell you what can\'t be done and why. Then go and do it. -- Robert Heinlein
I\'m basically a very lazy person who likes to get credit for things other people actually do. -- Linus Torvalds
-
January 27th, 2003, 06:07 AM
#6
Originally posted here by jdenny
Correction. If you compress it with gzip or gunzip, you'll see the extension .tar.gz. BUT if you compress it with compress, you'll get .tar.Z.
Addition. To extract the files compressed in .tar.gz :
gzip -dc filename.tar.gz | tar xvf -
To extract the files compressed in .tar.Z :
zcat filename.tar.Z | tar xvf -
There is also a version of zcat that can uncompress gzipped files, and if that's the version you're using, you can also extract the files compressed in .tar.gz :
zcat filename.tar.gz | tar xvf -
Note. compress/uncompress, gzip and zcat are available on many platforms, not only *nix. Just search google. Happy learning
Peace always,
<jdenny>
Hee hee....my turn.
Addition:
You need only use tar to deal with compressed OR gzipped tarballs:
To extract the files compressed in .tar.Z:
tar xZvf filename.tar.Z
To extract the file compressed in .tar.gz:
tar xzvf filename.tar.gz
Thanks for the correction, jdenny.
/* You are not expected to understand this. */
-
January 27th, 2003, 11:22 AM
#7
then there is always bzip2..
the convention (nowadays) is to use j for the bzip2's..
so that'd be tar xjvf filename.tar.bz2 or .tbz
ASCII stupid question, get a stupid ANSI.
When in Russia, pet a PETSCII.
Get your ass over to SLAYRadio the best station for C64 Remixes !
-
January 27th, 2003, 05:52 PM
#8
Whoa! Cool, JinX. I didn't know about that one.
One more thing about .tgz: Many files of this type are Slackware packages. You can use installpkg, removepkg, upgradepkg, makepkg, and explodepkg if you run Slackware.
/* You are not expected to understand this. */
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|