LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 11-13-2003, 01:45 PM   #1
daYz
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 164
Thanked: 0
How to install .tar.bz2?


[Log in to get rid of this advertisement]
Hi,

I like to install some programs from the Slackware cd, but they have the .tar.bz2 format and I don't know how install these.
Can someone tell me how I should do it?

Thanks.
daYz is offline     Reply With Quote
Old 11-13-2003, 01:48 PM   #2
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361
Thanked: 0
Try
Code:
tar xjf nameofpackage.tar.bz2
it will create a directory called 'nameofpackage'. Go there and follow the instructions of 'INSTALL', or do the 'config >> make >> make install' sequence.
Regards
Y0jiMb0 is offline     Reply With Quote
Old 11-13-2003, 01:48 PM   #3
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175
Thanked: 0
#bzip2 -dv filename.tar.bz2
to decompres, and after
#tar xfv filename.tar

There are many other/quick ways...
Take a look to the man of this commands....
Obscure is offline     Reply With Quote
Old 11-13-2003, 01:55 PM   #4
daYz
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 164
Thanked: 0

Original Poster
Thanks for the quick reply. I was afraid of that, I was hoping about an automated install possibility. I think I will download some rpms and use the rpm2tgz utility.

Thanks.
daYz is offline     Reply With Quote
Old 11-13-2003, 02:00 PM   #5
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361
Thanked: 0
Quote:
I will download some rpms and use the rpm2tgz utility
What does this 'rpm2tgz do? Does it convert a rpm to tgz?
In that case, why is more simple to use this program and then another one to uncompress, than do directly 'tar xjf ... ?
Y0jiMb0 is offline     Reply With Quote
Old 11-13-2003, 02:01 PM   #6
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175
Thanked: 0
You can try www.linuxpackages.net for slack .tgz pkgs..

Quote:
What does this 'rpm2tgz do? Does it convert a rpm to tgz?
Yes...

Checkinstall is another powerfull tool to create a slack pkg from a source...

Last edited by Obscure; 11-13-2003 at 02:04 PM..
Obscure is offline     Reply With Quote
Old 11-13-2003, 02:15 PM   #7
daYz
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 164
Thanked: 0

Original Poster
Quote:
Originally posted by Y0jiMb0
What does this 'rpm2tgz do? Does it convert a rpm to tgz?
In that case, why is more simple to use this program and then another one to uncompress, than do directly 'tar xjf ... ?
I have presumed a tgz will install like an rpm, and I had bad experiences with compilng from source.
daYz is offline     Reply With Quote
Old 11-13-2003, 02:16 PM   #8
daYz
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 164
Thanked: 0

Original Poster
Quote:
Originally posted by Obscure
You can try www.linuxpackages.net for slack .tgz pkgs..



Yes...

Checkinstall is another powerfull tool to create a slack pkg from a source...
Thanks. I know checkinstall. It's really usefull.
daYz is offline     Reply With Quote
Old 11-13-2003, 05:25 PM   #9
mds00
LQ Newbie
 
Registered: Aug 2003
Location: California
Distribution: Slackware
Posts: 17
Thanked: 0
you can also use

bzcat file.tar.bz2 | tar -xvf

I think it works best because your file will remain compressed as a bzip2 which is much smaller than .tar

Last edited by mds00; 11-13-2003 at 05:30 PM..
mds00 is offline     Reply With Quote
Old 11-13-2003, 06:24 PM   #10
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,222
Thanked: 0
Be careful with doing the rpm2tgz thing... You don't know how the packages were built, where it is going to try to install stuff.... If you absolutely don't want to compile from source (using checkinstall so you can easily removepkg them) then search for .tgz packages (linuxpackages or elsewhere)
ringwraith is offline     Reply With Quote
Old 11-14-2003, 02:58 AM   #11
daYz
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 164
Thanked: 0

Original Poster
Ok thanks.
daYz is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 you install file with TAR.BZ2 extension?.. thanks suse2166 Linux - Software 14 01-03-2005 05:55 PM
can not install the tar(gz,bz2) packages tuzhiyong Linux - General 2 11-23-2004 06:23 PM
how to install soundcard driver (*.tar.bz2) orbital1 Linux - Software 5 09-04-2004 12:54 PM
how do you install tar.bz2 files? Pbguru Linux - Newbie 1 07-25-2004 05:45 PM
how to install tar.bz2? Fear58 Linux - Software 1 06-20-2004 08:20 PM


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

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration