LinuxQuestions.org
Help answer threads with 0 replies.
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 06-01-2004, 03:10 PM   #1
nealkochhar
Member
 
Registered: May 2004
Posts: 56

Rep: Reputation: 15
*.bz2 -- How do I unpack?


I'm trying to install the 2.6.6 kernel from www.kernel.org

This is the filename:

linux-2.6.6.tar.bz2

It's in my /usr/src directory.

When I type (as a command): # tar -zxvf linux-2.6.6.tar.bz2

It says "not in standard zip format"

What's the command I need to use to unpack this sucker?
 
Old 06-01-2004, 03:12 PM   #2
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
Code:
tar -xfvj linux-2.6.6.tar.bz2
 
Old 06-01-2004, 03:14 PM   #3
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
tar -xvjf filename

the z flag is for files compressed using gzip, the j flag is for files compressed using bzip.

gzip files end in .gz bzip files end in .bz2

hope this helps

EDIT: you beat me to it Nis

Last edited by lyceum; 06-01-2004 at 03:17 PM.
 
Old 06-01-2004, 07:35 PM   #4
flamah
Member
 
Registered: Feb 2004
Location: London
Distribution: FEDORA CORE 2
Posts: 53

Rep: Reputation: 15
or you can use - bunzip2 <filename>
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to unpack a file? kuertensun Linux - Newbie 11 06-22-2005 02:32 PM
unpack it with what? wally58 Linux - Newbie 5 03-02-2005 11:10 AM
How to unpack a bz2 file? threepennybit Linux - Software 5 12-12-2004 05:05 AM
Unpack problem! Gerardoj Linux - General 3 08-08-2003 05:53 PM
how do you unpack digital bots Linux - Newbie 5 04-09-2002 04:23 PM


All times are GMT -5. The time now is 04:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration