Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-01-2004, 03:10 PM   #1
Registered: May 2004
Posts: 56

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

I'm trying to install the 2.6.6 kernel from

This is the filename:


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
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
tar -xfvj linux-2.6.6.tar.bz2
Old 06-01-2004, 03:14 PM   #3
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
Registered: Feb 2004
Location: London
Distribution: FEDORA CORE 2
Posts: 53

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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:38 AM.

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