LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 06-11-2004, 10:12 AM   #1
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Rep: Reputation: 15
extract .tar.bz2


How do I extraxt .tar.bz2 files? tar -xvjf returns an error msg telling me this file isn't a bz2-file. The same command works fine on files ending only with .bz2
 
Old 06-11-2004, 10:30 AM   #2
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 14
Posts: 273

Rep: Reputation: 30
Re: extract .tar.bz2

Quote:
Originally posted by EcceVery
How do I extraxt .tar.bz2 files? tar -xvjf returns an error msg telling me this file isn't a bz2-file. The same command works fine on files ending only with .bz2
Corrupted file?

try
Code:
file <filename.tar.bz2>
command and see the output.

try bunzip2 <filename.tar.bz2>, and then tar xvf <file.tar>, and see what happens
 
Old 11-24-2004, 12:31 PM   #3
swooningfish
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
you can do it by typing

Code:
tar -xjf file.tar.bz2
the 'j' passes it through bz2 if you have it on your box. Also you can add the 'v' to see the files being extracted.
 
Old 11-24-2004, 12:39 PM   #4
rekurzion
Newbie
 
Registered: Nov 2004
Distribution: Ubuntu 4.10 (2.6.8.1-3-386) and loving it.
Posts: 15

Rep: Reputation: 0
yup. if that doesn't work try downloading the file again. or from a different mirror or site. maybe the file was packaged bad.
 
  


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
how to extract a "tar.bz2" file? deWin Linux - Newbie 11 11-04-2009 11:55 PM
tar.bz2 Fails To Extract carlosinfl Linux - General 6 10-16-2005 12:33 PM
How to extract tar.bz2 files? akihandyman Linux - Newbie 3 12-21-2003 03:17 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM


All times are GMT -5. The time now is 01:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration