LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-13-2003, 12:45 PM   #1
daYz
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 164

Rep: Reputation: 30
How to install .tar.bz2?


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.
 
Old 11-13-2003, 12:48 PM   #2
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
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
 
Old 11-13-2003, 12:48 PM   #3
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175

Rep: Reputation: 32
#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....
 
Old 11-13-2003, 12:55 PM   #4
daYz
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 164

Original Poster
Rep: Reputation: 30
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.
 
Old 11-13-2003, 01:00 PM   #5
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
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 ... ?
 
Old 11-13-2003, 01:01 PM   #6
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175

Rep: Reputation: 32
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 01:04 PM.
 
Old 11-13-2003, 01:15 PM   #7
daYz
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 164

Original Poster
Rep: Reputation: 30
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.
 
Old 11-13-2003, 01:16 PM   #8
daYz
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 164

Original Poster
Rep: Reputation: 30
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.
 
Old 11-13-2003, 04:25 PM   #9
mds00
LQ Newbie
 
Registered: Aug 2003
Location: California
Distribution: Slackware
Posts: 17

Rep: Reputation: 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 04:30 PM.
 
Old 11-13-2003, 05:24 PM   #10
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
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)
 
Old 11-14-2003, 01:58 AM   #11
daYz
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 164

Original Poster
Rep: Reputation: 30
Ok thanks.
 
  


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


All times are GMT -5. The time now is 03:55 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration