LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to install .tar.bz2? (https://www.linuxquestions.org/questions/slackware-14/how-to-install-tar-bz2-115649/)

daYz 11-13-2003 12:45 PM

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.

Y0jiMb0 11-13-2003 12:48 PM

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

Obscure 11-13-2003 12:48 PM

#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....

daYz 11-13-2003 12:55 PM

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.

Y0jiMb0 11-13-2003 01:00 PM

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 ... ? :confused:

Obscure 11-13-2003 01:01 PM

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...

daYz 11-13-2003 01:15 PM

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 ... ? :confused:

I have presumed a tgz will install like an rpm, and I had bad experiences with compilng from source.

daYz 11-13-2003 01:16 PM

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.

mds00 11-13-2003 04:25 PM

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

ringwraith 11-13-2003 05:24 PM

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)

daYz 11-14-2003 01:58 AM

Ok thanks.


All times are GMT -5. The time now is 06:36 PM.