LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-25-2006, 12:21 AM   #1
scottoaks
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Rep: Reputation: 0
tar.gz vs tar.bz2


My Slackware KPackage installer wont recognize files with the .bz2 extension......only recognizes the tar.gz

any way to convert these files?
 
Old 01-25-2006, 12:51 AM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
you just need to install the bzip utilities to handle bz2...
 
Old 01-25-2006, 03:35 AM   #3
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
Wrong. I guess there is no way...
 
Old 01-25-2006, 04:02 AM   #4
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Quote:
Originally Posted by BinJajer
Wrong. I guess there is no way...
Huh? No way for what? You just need bzip to unzip bz2 archives... Of course they might not be actual slack installation packages...
 
Old 01-25-2006, 04:22 AM   #5
sohny
Member
 
Registered: Aug 2004
Location: bangalore
Distribution: Redhat,Ubuntu
Posts: 64

Rep: Reputation: 15
I think this a round about way but it works i think

bzip2 -d <filenam>.bz2
you will get a folder with name <filename>

do the following on that directory
tar -cvf <filname>

may be this will work
 
Old 01-25-2006, 04:28 AM   #6
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Yes, but once you have bzip installed you can do tar xfvj anyway... Or you can do a bzip -d and then gzip it back to a tar.gz file... depends what the OP wants to do...
 
Old 01-25-2006, 05:30 AM   #7
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
Damn, you can't install tar.bz2's as packages!! Only tgz is supported! I must be misunderstanding smoething here!
 
Old 01-25-2006, 05:36 AM   #8
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
I don't know whether the OP want to open them as packages. That will be up to the OP to tell us. They may just want to open them... Need more info.
 
Old 01-25-2006, 09:07 AM   #9
scottoaks
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Yes these are packages that i want to install...they all seem to come with the .bz2 extension and KPackage only accepts tar.gz
 
  


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 can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
tar.gz tar.bz2 sickley Linux - Newbie 12 11-23-2005 02:02 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 01:08 PM
GUI support tar.gz/tar/gz/bz2 and etc demmylls Linux - General 3 10-09-2003 08:43 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 02:04 PM


All times are GMT -5. The time now is 06:56 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration