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
Printable View
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
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.
Thank You very much.
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
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.Quote:
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.
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.Quote:
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>
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. :bigsmile:
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
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.