Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-18-2004, 01:58 PM   #1
LQ Newbie
Registered: May 2003
Location: Utah, USA
Distribution: Slackware 9.0
Posts: 7

Rep: Reputation: 0
extracting tar.bz2.gz files

How do i extract tar.bz2.gz files?
Thanks in advance.
Old 04-18-2004, 02:08 PM   #2
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
tar.bz2.gz? All on the same file? Or separate files? Either way, search for it, this is asked all the time.
Old 04-18-2004, 02:33 PM   #3
LQ Newbie
Registered: May 2003
Location: Utah, USA
Distribution: Slackware 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
Yea, it's on one file. I have searched and havn't been able to find anything. When I use gunzip to decompress the .gz extension it gives me an error:
"gunzip: file1.tar.bz2.gz not in gzip format". Also, Bzip2 gives the same sorda error.
Old 04-18-2004, 02:41 PM   #4
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Where did you download it from? It seems really odd to double compress a file like that.
Old 04-18-2004, 03:36 PM   #5
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103


bunzip2 filename
tar zxvf filename
Old 04-19-2004, 12:33 AM   #6
Registered: Dec 2002
Location: New Westminster, B.C.,CANADA
Distribution: Slax. Tinycore. Puppy.
Posts: 109

Rep: Reputation: 15
Did you download this file with ms windows?
When I download a .tar.bz2 with w98 I get
a .tar.tar file!
Go to the web site and get the correct file name
or rename your file .tar.bz2 or .tar.gz.
Need Help? Try tar --help. Same with bz2 and gz.
You have to rename the file before you can
unzip it.


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
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
installing tar.bz2 files M O L8ingN2dust Mandriva 2 03-26-2005 04:46 AM
Extracting tar.bz2 archive through console grim_chel Linux - Newbie 3 06-28-2004 12:27 PM
extracting .bz2 files mjkramer Linux - Newbie 4 10-16-2003 10:23 PM
.tar.bz2 files Agileuk Linux - Newbie 7 09-28-2003 01:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration