LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools
Old 04-08-2002, 10:03 PM   #1
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215
Thanked: 0
how do you unpack


[Log in to get rid of this advertisement]
how do you unpack a .bz2 file. I did tar -zxvf nameoffile.bz2 and it gave me a error/
digital bots is offline     Reply With Quote
Old 04-08-2002, 10:06 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,329
Thanked: 182
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.
acid_kewpie is offline     Reply With Quote
Old 04-08-2002, 10:14 PM   #3
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215
Thanked: 0

Original Poster
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.
digital bots is offline     Reply With Quote
Old 04-09-2002, 09:26 AM   #4
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472
Thanked: 0
yeah dood... the following command will work miracles for you:

# man <command>

gadzooks, batman! it's a manual for the command!!! ;-)
Syncrm is offline     Reply With Quote
Old 04-09-2002, 12:05 PM   #5
AutoBot
Member
 
Registered: Mar 2002
Location: I can see you from here.
Distribution: Gentoo 1.3b
Posts: 84
Thanked: 0
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
AutoBot is offline     Reply With Quote
Old 04-09-2002, 04:23 PM   #6
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215
Thanked: 0

Original Poster
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.
digital bots is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 03:31 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration