LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-18-2011, 01:20 AM   #1
nab_du
LQ Newbie
 
Registered: Dec 2011
Posts: 3

Rep: Reputation: Disabled
What is the command to unzip files with extension .bz2?


how to unzip .bz2
 
Old 12-18-2011, 01:24 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Code:
tar xvjf filename.tar.bz2
 
Old 12-18-2011, 01:42 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You don't even need the 'j' option any more, as tar will work out how the file is compressed automatically (though it doesn't hurt to use it, of course).
 
1 members found this post helpful.
Old 12-18-2011, 01:59 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
if this is a desktop install or using a GUI

double click on it
the SAME way as in MS windows
 
Old 12-18-2011, 07:30 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by spiky0011 View Post
Code:
tar xvjf filename.tar.bz2
Of if it's just a bz2-compressed file (not a tar archive), use:

Code:
bzip2 -d filename.bz2
 
  


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
[SOLVED] How to unzip the *.bz2 file using php coding? vijaysince89 Programming 3 11-30-2010 07:47 PM
How to unzip/uncompress .tar.bz2 rajeshsfo Linux - Software 3 08-20-2006 12:48 AM
how to unzip a ***.tar.bz2 file in Windows RajRed General 17 11-04-2005 09:47 AM
How to Unzip 2 Zip files through one single command sumitarun Linux - Newbie 2 03-23-2005 08:00 AM
What to use to unzip *.bz2 CodeWarrior Slackware 6 06-03-2003 10:43 PM

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

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