LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is the command to unzip files with extension .bz2? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-command-to-unzip-files-with-extension-bz2-919287/)

nab_du 12-18-2011 01:20 AM

What is the command to unzip files with extension .bz2?
 
how to unzip .bz2

spiky0011 12-18-2011 01:24 AM

Code:

tar xvjf filename.tar.bz2

Nylex 12-18-2011 01:42 AM

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).

John VV 12-18-2011 01:59 AM

if this is a desktop install or using a GUI

double click on it
the SAME way as in MS windows

MTK358 12-18-2011 07:30 AM

Quote:

Originally Posted by spiky0011 (Post 4552783)
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


All times are GMT -5. The time now is 06:19 PM.