LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 02: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, 02:24 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debian
Posts: 2,127
Blog Entries: 1

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Code:
tar xvjf filename.tar.bz2
 
Old 12-18-2011, 02: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, 02:59 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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, 08:30 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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


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


All times are GMT -5. The time now is 10:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration