This is a discussion on Program for uncompressing .tar.bz2 file within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi, I am running a distro that doesn't included the kernel source code (morphix HD install), but I need ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I am running a distro that doesn't included the kernel source code (morphix HD install), but I need it to run VPN client to get wifi access. I downloaded the kernel source but its in .tar.bz2 format and my version of gunzip and tar doesn't seem to support this compression. Where can I download a utility that will unpack this mess? Thanks, Aaron Huber Urbana, IL |
| |||
| Aaron Samuel Huber wrote: > Hi, I am running a distro that doesn't included the kernel source code > (morphix HD install), but I need it to run VPN client to get wifi > access. I downloaded the kernel source but its in .tar.bz2 format and > my version of gunzip and tar doesn't seem to support this compression. > Where can I download a utility that will unpack this mess? > > Thanks, > Aaron Huber > Urbana, IL bzip2 -cd file.tar.bz2 | tar xvf - -- Mauriat (www.mjmwired.net) ---------------------------- Remove 'NOSPAM' to email me. |
| |||
| Hello Mauriat (<usenet@NOSPAMmjmwired[dot]net>) wrote: > Aaron Samuel Huber wrote: >> Hi, I am running a distro that doesn't included the kernel source >> code (morphix HD install), but I need it to run VPN client to get >> wifi >> access. I downloaded the kernel source but its in .tar.bz2 format >> and my version of gunzip and tar doesn't seem to support this >> compression. >> Where can I download a utility that will unpack this mess? > > bzip2 -cd file.tar.bz2 | tar xvf - Or tar xfjv file.tar.bz2 From the tar man page: -j, --bzip2 filter archive through bzip2, use to decompress .bz2 files best regards Andreas Janssen -- Andreas Janssen andreas.janssen@bigfoot.com PGP-Key-ID: 0xDC801674 Registered Linux User #267976 |
| |||
| Mauriat wrote: > > bzip2 -cd file.tar.bz2 | tar xvf - bzcat file.tar.bz2 | tar xv -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2 Uptime: 30 days, 4:09, 1 user, load average: 1.24, 0.88, 0.55 |
| |||
| "David" <thunderbolt01@netscape.net> wrote in message news:FIeqb.114136$Fm2.101636@attbi_s04... > Mauriat wrote: > > > > bzip2 -cd file.tar.bz2 | tar xvf - > > bzcat file.tar.bz2 | tar xv If bzip2 is installed, try "tar xjf filename.tar.bz2". GNU tar incorporates both gzip and bzip2 functionality as a command-line option. |
| |||
| >>>>> "Andreas" == Andreas Janssen <andreas.janssen@bigfoot.com> writes: >>> I downloaded the kernel source but its in .tar.bz2 format and >>> my version of gunzip and tar doesn't seem to support this >>> compression. Andreas> Or Andreas> tar xfjv file.tar.bz2 Andreas> From the tar man page: Andreas> -j, --bzip2 filter archive through bzip2, use to Andreas> decompress .bz2 files What did you understand when the OP says that his version of tar didn't seem to support bz2? -- Lee Sau Dan +Z05biGVm-(Big5) ~{@nJX6X~}(HZ) E-mail: danlee@informatik.uni-freiburg.de Home page: http://www.informatik.uni-freiburg.de/~danlee |
| |||
| LEE Sau Dan <danlee@informatik.uni-freiburg.de> writes: ]>>>>> "Andreas" == Andreas Janssen <andreas.janssen@bigfoot.com> writes: ] >>> I downloaded the kernel source but its in .tar.bz2 format and ] >>> my version of gunzip and tar doesn't seem to support this ] >>> compression. ] Andreas> Or ] Andreas> tar xfjv file.tar.bz2 ] Andreas> From the tar man page: ] Andreas> -j, --bzip2 filter archive through bzip2, use to ] Andreas> decompress .bz2 files ]What did you understand when the OP says that his version of tar ]didn't seem to support bz2? What he said was "my version of gunzip and tar" which leaves it ambiguous. a) he may have linus with a very old version of tar which does not have the -j flag. b) He may not have installed bzip2 c) He may not know about the -j flag Clearly Andreas was answering possibility c. You on the other hand answered none of them. For both a) and b) make sure that you have bzip2 (and bunzip2) installed since the bz2 files are compressed with bzip2 not gzip. If your version of tar supports the -j flag, after bunzip2 is installed, just do as Andreas said. If your version of tar does NOT support the -j flag, then either get one that does, or uncompress first bunzip2 name.of.file.tar.bz2 which will create a tar file name.of.file.tar on which you can use tar -xf name.of.file.tar to untar it. |
| |||
| Bill Unruh wrote: > LEE Sau Dan <danlee@informatik.uni-freiburg.de> writes: > > ]>>>>> "Andreas" == Andreas Janssen <andreas.janssen@bigfoot.com> writes: > > ] >>> I downloaded the kernel source but its in .tar.bz2 format and > ] >>> my version of gunzip and tar doesn't seem to support this > ] >>> compression. > > ] Andreas> Or > ] Andreas> tar xfjv file.tar.bz2 > > ] Andreas> From the tar man page: > > ] Andreas> -j, --bzip2 filter archive through bzip2, use to > ] Andreas> decompress .bz2 files > > ]What did you understand when the OP says that his version of tar > ]didn't seem to support bz2? > > What he said was "my version of gunzip and tar" which leaves it > ambiguous. > a) he may have linus with a very old version of tar which does not have > the -j flag. IIRC, old versions of GNU tar used the -Y flag to invoke bzip2 [snip] -- Lew Pitcher Master Codewright and JOAT-in-training Registered Linux User #112576 (http://counter.li.org/) Slackware - Because I know what I'm doing. |
| ||||
| >>>>> "Lew" == Lew Pitcher <lpitcher@sympatico.ca> writes: Lew> IIRC, old versions of GNU tar used the -Y flag to invoke Lew> bzip2 [snip] And I once used a version that used "-I". -- Lee Sau Dan +Z05biGVm-(Big5) ~{@nJX6X~}(HZ) E-mail: danlee@informatik.uni-freiburg.de Home page: http://www.informatik.uni-freiburg.de/~danlee |