LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   tgz vs tar.bz2 (https://www.linuxquestions.org/questions/mandriva-30/tgz-vs-tar-bz2-107353/)

Micro420 10-22-2003 08:00 PM

tgz vs tar.bz2
 
So what's the difference betweena *.tgz file and a *.tar.bz2 file? I need to know so I can fix my compiling problem in this thread:

http://www.linuxquestions.org/questi...hreadid=106091

and why do they always tell you how to extract a tar file? For example, tar -xyz <filename>.tgz. In Mandrake, I just double click it and extract it somewhere. is this the wrong way to extract a file???

slakmagik 10-22-2003 08:38 PM

A tgz is either a slackpack or short for 'tar.gz' which means gzipped. 'tar.bz2' is compressed with bzip which uses a better but slower compression method. And I use 'tar xjf' for those but do whatever works for you. :)

sandman 10-22-2003 08:44 PM

a tar file is just a file that holds several files, the tgz or tar.gz or tar.bz2 are tar files that have been compressed.

bigVoice 10-22-2003 09:21 PM

Re: tgz vs tar.bz2
 
" and why do they always tell you how to extract a tar file? For example, tar -xyz <filename>.tgz. In Mandrake, I just double click it and extract it somewhere. is this the wrong way to extract a file???"

Absolutely not. Same thing, only you are using a gui interface instead of command line. End result is exactly the same.

Micro420 10-22-2003 10:19 PM

thanks guys. I know I've seen this *.tar extension, even in Windows. I remembe WinZip was able to extract Tar files, too! GOod stuff.

*close thread*


All times are GMT -5. The time now is 02:57 AM.