LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-22-2003, 08:00 PM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
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???

Last edited by Micro420; 10-22-2003 at 08:04 PM.
 
Old 10-22-2003, 08:38 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 10-22-2003, 08:44 PM   #3
sandman
Member
 
Registered: Sep 2002
Distribution: arch
Posts: 232

Rep: Reputation: 30
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.
 
Old 10-22-2003, 09:21 PM   #4
bigVoice
Member
 
Registered: Sep 2003
Location: Toronto
Distribution: Mandrake 10
Posts: 237

Rep: Reputation: 30
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.
 
Old 10-22-2003, 10:19 PM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
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*
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tar.bz2??? Jmcatch742 Linux - General 1 09-11-2004 12:51 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
GUI support tar.gz/tar/gz/bz2 and etc demmylls Linux - General 3 10-09-2003 07:43 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM
tar.bz2 Loki_VA Linux - Software 16 08-19-2003 03:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration