LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-01-2004, 02: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, 02: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, 02: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 02:17 PM.
 
Old 06-01-2004, 06: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



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 01:32 PM
unpack it with what? wally58 Linux - Newbie 5 03-02-2005 10:10 AM
How to unpack a bz2 file? threepennybit Linux - Software 5 12-12-2004 04:05 AM
Unpack problem! Gerardoj Linux - General 3 08-08-2003 04:53 PM
how do you unpack digital bots Linux - Newbie 5 04-09-2002 03:23 PM

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

All times are GMT -5. The time now is 07:17 AM.

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