LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-24-2006, 11:21 PM   #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-24-2006, 11:51 PM   #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, 02: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, 03: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, 03: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, 03: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, 04: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, 04: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, 08: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



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 02:48 AM
tar.gz tar.bz2 sickley Linux - Newbie 12 11-23-2005 01:02 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
GUI support tar.gz/tar/gz/bz2 and etc demmylls Linux - General 3 10-09-2003 07:43 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 - Newbie

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