Results 1 to 5 of 5
I'm running debian 4 r2. I've got this file called: phpBB-3.0.0.tar.bz2 - I'm trying to extract the files so that I can install the program.
How do I extract this ...
- 02-08-2008 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 36
.tar.bz2 files. How do I extract?
I'm running debian 4 r2. I've got this file called: phpBB-3.0.0.tar.bz2 - I'm trying to extract the files so that I can install the program.
How do I extract this junk? I've tried
The results I get are either:Code:tar xvf phpBB-3.0.0.tar.bz2 bunzip2 phpBB-3.0.0.tar.bz2 tar -xvjf .... tar -jxvf .....
or thisCode:tar: bzip2: Cannot exec: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors
I understand the issue with the second one. Quite obvious, but what Isn't working on the other commands? Is there some program I need to extract this file type?Code:-bash: bunzip2: command not found
I have tried using Google and the search function on this forum, but nothing has worked yet. I'd really really appreciate some help.
Thanks
- 02-08-2008 #2Linux Newbie
- Join Date
- Jan 2008
- Location
- UK
- Posts
- 211
Assuming you have it installed try below
Rename the file you've downloaded to plain bzip2 (or bzip2.exe on Windows), and use it. Unix folks will also need to set the permissions suitably (chmod u+x bzip2).
To decompress a .bz2 file:
% bzip2 -d my_file.bz2
I am not sure what otherutilities support bzip2 compression.
- 02-08-2008 #3Linux Newbie
- Join Date
- Nov 2007
- Location
- Planet Earth
- Posts
- 152
Actually, the option:
should work... did you check the md5sum of your downloaded file?Code:tar -vxjf phpBB-3.0.0.tar.bz2
HugoEOF
- 02-08-2008 #4Just Joined!
- Join Date
- Feb 2008
- Posts
- 18
Hi, I think you are missing the the bzip2 package. Install it, this will provide the bunzip2 command as well. --Japser.
- 02-08-2008 #5Just Joined!
- Join Date
- Mar 2007
- Posts
- 36
Hey you all.
Thanks for the prompt resonses. What I did was install the bzip2 package, then ran:
that changed it into the tar file, where I was able to useCode:bunzip2 php*
to extract it. Problem solved, thanks again.Code:tar xvf php*


Reply With Quote
