Click to See Complete Forum and Search --> : how do I uncompress a tar.bz2 file?


thescribe7
01-08-2001, 11:04 PM
I downloaded a file and am having trouble figureing out how to do it.
any one know how?

------------------
"Don't worry about you life if you hold to close you'll loose it. Don't worry about your life, so won't you let go before it's gone?" -Rebecca St. James - Don't Worry

Killio
01-08-2001, 11:09 PM
Get a copy of bzip2 (if you use debian, just 'apt-get install bzip2', otherwise I'm not sure)

then do this;

cd /home/tux
tar -Ixfv foo.tar.bz2


if you only want to extract the bz2 and leave the tar, use

bzip2 -d foo.tar.bz2

Shad
01-09-2001, 12:39 AM
Most distros will already have bzip2 compression installed ( I think it is necessary to properly make a kernel now). Just try the commands and see if they work.

------------------
Just a Tuna in the Sea of Life

Ripley
01-09-2001, 12:52 AM
I thought tar required a patch to handle bzip2 files. ftp://sourceware.cygnus.com/pub/bzip2/contrib/gnutarpatch.txt from http://sources.redhat.com/bzip2/

If so then

bzcat filename.tar.bz2 | tar xv

would work without it.

ToolPackinMama
01-12-2001, 11:35 PM
Originally posted by Ripley:
I thought tar required a patch to handle bzip2 files. ftp://sourceware.cygnus.com/pub/bzip2/contrib/gnutarpatch.txt from http://sources.redhat.com/bzip2/


I tried to DL it but it wants to be saved as and HTML file. What gives? http://www.linuxnewbie.org/ubb/tongue.gif



------------------
Laura Goodwin
lalaura@altavista.net

Sensei
01-12-2001, 11:37 PM
What about bunzip? That is part of the bzip package.

This makes for a good FAQ question.

------------------
Sensei
LNO Seti Black Belts Team Stats
http://setiathome.ssl.berkeley.edu/stats/team/team_11027.html

Join the Linuxnewbie.org SETI Black Belts!
http://setiathome.ssl.berkeley.edu/cgi-bin/cgi?cmd=team_join_form&id=11027

irlandes
01-12-2001, 11:56 PM
Doesn't midnight commander (accessed by the comman mc from the text prompt) have an easy bunzip function key?