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 04-08-2002, 09:03 PM   #1
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Rep: Reputation: 30
how do you unpack


how do you unpack a .bz2 file. I did tar -zxvf nameoffile.bz2 and it gave me a error/
 
Old 04-08-2002, 09:06 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
did you try actaully reading the man page for tar? if you did you'd se that the z tag is for gzip files, while y or j is for bzip2 files.
 
Old 04-08-2002, 09:14 PM   #3
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by acid_kewpie
did you try actaully reading the man page for tar? if you did you'd se that the z tag is for gzip files, while y or j is for bzip2 files.
to tell the truth some one told me how to do it i didnt know there was a file that i could look this info up on.
 
Old 04-09-2002, 08:26 AM   #4
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
yeah dood... the following command will work miracles for you:

# man <command>

gadzooks, batman! it's a manual for the command!!! ;-)
 
Old 04-09-2002, 11:05 AM   #5
AutoBot
Member
 
Registered: Mar 2002
Location: I can see you from here.
Distribution: Gentoo 1.3b
Posts: 184

Rep: Reputation: 34
Yes it is better to read the man pages when you are in need of help but since that has been said here you go:

To unpack bzip2 tarball: (.tar.bz): tar -Ixvf /path/to/archive.tar.bz2

To unpack bzip2 file: (.bz2): bzip2 -d /path/to/archive.bz2
 
Old 04-09-2002, 03:23 PM   #6
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Syncrm
yeah dood... the following command will work miracles for you:

# man <command>

gadzooks, batman! it's a manual for the command!!! ;-)
thanks for the tip didnt know that one.
 
  


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 and install mikeCanada Linux - Newbie 4 11-13-2005 06:30 AM
unpack it with what? wally58 Linux - Newbie 5 03-02-2005 10:10 AM
how to unpack .tar? g-string 3 Debian 8 11-29-2004 08:01 AM
*.bz2 -- How do I unpack? nealkochhar Linux - Newbie 3 06-01-2004 06:35 PM
what do i do after i unpack the tar.gz sanjaya Linux - Software 1 02-11-2004 07:58 PM

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

All times are GMT -5. The time now is 02:40 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