LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-13-2006, 09:19 AM   #1
cnm
Member
 
Registered: Nov 2006
Distribution: RHEL 4
Posts: 34

Rep: Reputation: 15
What is bz.2 format


I tried downloading a kernal version. It was a ".bz.2" file. What should I do with it?
 
Old 12-13-2006, 09:37 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
What is the exact name of the file you downloaded?
 
Old 12-13-2006, 09:52 AM   #3
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389

Rep: Reputation: 30
tar -xvjf xxxx.bz2

fyi, bz2 is one of file compression type/format , just like .zip

man tar

Last edited by xgreen; 12-13-2006 at 09:54 AM.
 
Old 12-13-2006, 10:13 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by xgreen
tar -xvjf xxxx.bz2

fyi, bz2 is one of file compression type/format , just like .zip

man tar
If its a patch, then that command won't work even though the patch comes as a *bz2 file because the patches are gzipped or bzipped files but they are not tarred. If he downloaded a full kernel source, then yes the command will work.
 
Old 12-13-2006, 11:56 AM   #5
charle97
Member
 
Registered: Nov 2006
Location: hawaii, usa
Distribution: slackware 14
Posts: 80

Rep: Reputation: 16
try:

bunzip2 filename
 
Old 12-15-2006, 09:09 AM   #6
cnm
Member
 
Registered: Nov 2006
Distribution: RHEL 4
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by cnm
I tried downloading a kernal version. It was a ".bz.2" file. What should I do with it?
OK I used bunzip2 connad. It worked. Now another Problem.
what should I use if the file ends with ".tar.bz"
 
Old 12-15-2006, 09:14 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
what should I use if the file ends with ".tar.bz"
Code:
$tar xjvf somefile.tar.bz2
Sometimes you will see the files labelled as somefile.tbz. You use the same commands as above to extract the contents.
 
  


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
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM
Converting wma format to mp3 format. fakie_flip Linux - General 6 10-02-2005 07:49 PM
replace empty function from the old format to the new format powah Programming 4 07-12-2005 08:07 PM
use vi to convert linux format to windows format intolinux Linux - Software 2 12-10-2003 10:20 PM
Format Problems Saving Star Office Docs in Word Format kkempter Linux - Software 4 08-27-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:14 PM.

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