LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-18-2004, 12:58 PM   #1
crank
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, 01:08 PM   #2
Komakino
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, 01:33 PM   #3
crank
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, 01:41 PM   #4
david_ross
Moderator
 
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, 02:36 PM   #5
rylan76
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
Hi

Go

bunzip2 filename
tar zxvf filename
 
Old 04-18-2004, 11:33 PM   #6
AlanL
Member
 
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 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