Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-08-2004, 04:01 AM
|
#1
|
Member
Registered: May 2004
Posts: 130
Rep:
|
what 's different between *.tar.gz and *.tar.bz2
what 's different between *.tar.gz and *.tar.bz2
|
|
|
06-08-2004, 04:08 AM
|
#2
|
Member
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198
Rep:
|
bz2 has a better compression, the files are smaller.
But bz2 is not on all systems installed by default, on the other hand .tar.gz (or shorter .tgz) can be read even by WinZip.
|
|
|
06-08-2004, 04:10 AM
|
#3
|
Member
Registered: May 2004
Posts: 130
Original Poster
Rep:
|
how to extract *.tar.gz and *.tar.bz2?
|
|
|
06-08-2004, 04:23 AM
|
#4
|
Member
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198
Rep:
|
To take a look inside:
tar -zxtf Name.tar.gz
To extract it where you are:
tar -xvzf Name.tar.gz
More infos by type "man tar"
or cklicking in a graphical filemanager.
|
|
|
06-08-2004, 04:36 AM
|
#5
|
Member
Registered: May 2004
Posts: 130
Original Poster
Rep:
|
Does the command "tar -xvzf" use the same for both *.tar.gz and *.tar.bz2?
|
|
|
06-08-2004, 04:41 AM
|
#6
|
LQ Newbie
Registered: Jun 2004
Posts: 2
Rep:
|
for bzip file you can use:
tar -jxpf for extracting
and
tar -jtpf for listing the content
|
|
|
06-08-2004, 04:48 AM
|
#7
|
Member
Registered: May 2004
Posts: 130
Original Poster
Rep:
|
I'm clear now,
Thanks
|
|
|
06-08-2004, 08:42 AM
|
#8
|
Member
Registered: Mar 2004
Location: York, UK
Distribution: Ubuntu
Posts: 132
Rep:
|
One more note: bzip2 is substantially more processor intensive: a big archive can take a great deal longer to decompress from bzip2 than it would from gzip.
|
|
|
All times are GMT -5. The time now is 06:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|