LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
LinkBack Search this Thread
Old 12-20-2004, 05:11 AM   #1
zameer_india
Member
 
Registered: Sep 2004
Location: hyderabad
Posts: 210

Rep: Reputation: 30
how to compile a file of .tar.bz2


Hi, Every body...

How to compile this file "xxxxxxxxxx.tar.bz2"...
I am using tar xzvf option ... but it says file is not gzip format....
so , is there any other way to unzip this file....any help would be appreciate...

Thnx in Advance...

Zameer ahmed syed.
 
Old 12-20-2004, 05:14 AM   #2
infantpapa
LQ Newbie
 
Registered: Dec 2004
Posts: 27

Rep: Reputation: 15
hi,
1. gzip2 -d xxxxxx.tar.bz2
2. tar -xvf xxxxx.tar
3. ./configure
4. make
5. make install
 
Old 12-20-2004, 05:18 AM   #3
zameer_india
Member
 
Registered: Sep 2004
Location: hyderabad
Posts: 210

Original Poster
Rep: Reputation: 30
Hi, Krishna...

thnx for another kind reply....
i type gzip2 - d xxxxxxxxxxxxxx.bz2

then i found that gzip2 command not found..what to do...

thnx with regds,
zameer ahmed syed
 
Old 12-20-2004, 07:46 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,856

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
ignore that, for bzip2 files, use "jxvf" rather than "zxvf" that's all you need.
 
Old 12-20-2004, 07:54 AM   #5
zameer_india
Member
 
Registered: Sep 2004
Location: hyderabad
Posts: 210

Original Poster
Rep: Reputation: 30
Hi Acid.....
Thnx for reply.....
After Long days.... Could U remember me or not .... I got You.... How R U?.....
xvjf is working but not zxvf...

Thnx with regds,
zameer ahmed syed.
 
Old 12-20-2004, 08:07 AM   #6
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 298

Rep: Reputation: 32
For info:

the 'j' stands for the bzip2 format which is not alike the gzip format used with the 'z' option.
It's more powerful..
 
Old 12-20-2004, 10:53 AM   #7
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,989

Rep: Reputation: 63
To clarify: bzip2 is more memory and CPU intensive to compress and decompress than gzip2, but tends to result in smaller file sizes.

Unlike the ZIP format, tarballs are uncompressed archives, hence the use of .bz2 or .gz compression, which compresses the entire archive file (including its headers), instead of compressing each file seperately.
 
Old 12-21-2004, 12:15 AM   #8
zameer_india
Member
 
Registered: Sep 2004
Location: hyderabad
Posts: 210

Original Poster
Rep: Reputation: 30
Thanx to rhoekstra, rjlee... Both gave me an useful information.....

zameer ahmed syed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make a tar.bz2 file bruse Linux - Newbie 5 03-30-2005 01:42 AM
Unpacking a .tar.bz2 file njschroe Linux - Software 1 01-31-2005 03:25 PM
How to? compile and install from source? (tar.*/gz2/bz2) entob Slackware 9 03-30-2004 06:23 PM
cannot figure out how to exstract and compile a .tar.bz2 file. ccflashback Linux - Newbie 1 11-03-2003 01:52 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM


All times are GMT -5. The time now is 05:36 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration