LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 17 Xfce
Posts: 295

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



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 14 08-09-2016 08:49 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration