LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-21-2009, 03:46 AM   #1
SolitudeSensus
Member
 
Registered: May 2009
Posts: 73

Rep: Reputation: 15
Smile .tgz


The installation package for Slackware is .tgz
Is it possible to compile .tar.gz or .tar.bz2
and install?
 
Old 07-21-2009, 04:00 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Sure, why not?
A Slackware package contains precompiled software. However, do not assume that all *.tgz files are Slackware packages.
Source code can be archived and compressed into all sorts of file formats: *.tar.gz *.tar.xz *.tar.bz2 *.tgz etc... and you can make a Slackware package out of these sources by compiling them and conveniently packaging the resulting binaries.

Eric
 
Old 07-21-2009, 04:18 AM   #3
SolitudeSensus
Member
 
Registered: May 2009
Posts: 73

Original Poster
Rep: Reputation: 15
Smile compiling

I have tar.gz file
I want to install it in my Slackware 12.2.

Is it nescessary to compile it and make .tgz package?
Or
After extracting I can do:
make
make install
./program
 
Old 07-21-2009, 04:40 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
You could use src2pkg.
http://www.src2pkg.net/
 
Old 07-21-2009, 04:44 AM   #5
conraid
Member
 
Registered: Feb 2008
Location: Leghorn, Tuscany, Italy
Distribution: Slackware
Posts: 122

Rep: Reputation: 38
Quote:
Originally Posted by SolitudeSensus View Post
After extracting I can do:
make
make install
./program
sure, you can
normally is
Code:
./configure
make
make install
/prefix/program
default prefix is /usr/local , but you can change it with
Code:
./configure --prefix=/usr

Not all programs use configure/make, same use cmake or qmake
 
Old 07-21-2009, 04:47 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
General advice: software installation is dependent on the software you're trying to install (amongst other things). While many pieces of software are installed in the same way (e.g. configure, make, make install as outlined above), you should always check the documentation for whatever you want to install, to find any specific installation notes.
 
Old 07-21-2009, 05:13 AM   #7
metrofox
Member
 
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236

Rep: Reputation: 37
Most part of "linux" software is compiled for slackware in *.tgz, take a look here:

http://www.slacky.eu/aadm/pkgs/index.php?ver=6

Put the name of your package and after push on enter, if the package you're looking for doesn't exist on slacky.eu find it on slackbuilds.org

There is a lot of software there Install software using slackbuilds and/or using *.tgz; *.txz, the normal compilation-->installation (./configure; make;make install) is a right procedure but too general, some software requires more infos to install to the right path and make a right installation(I mean, a clean installation) Learn how to make a slackbuild as first as possible, it's useful for your slackware and remember to install dependencies too

Last edited by metrofox; 07-21-2009 at 05:14 AM.
 
Old 07-21-2009, 07:58 AM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I would recommend going to http://www.slackbuilds.org and looking for a build script. Also read the howto.

If you don't see a package there then you can make your own slackbuild from the template on sb.org. Or you could use the DESTDIR variable to install into a directory and run makepkg on it.

It is generally frowned upon to download precompiled packages from 3rd party websites, where who knows what options or dependencies they may have been compiled with.

Last edited by dive; 07-21-2009 at 07:59 AM.
 
Old 07-21-2009, 10:59 AM   #9
metrofox
Member
 
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236

Rep: Reputation: 37
Here are the slacky.eu's packages:

http://repository.slacky.eu/slackwar.../ChangeLog.txt

They're really a lot...
 
Old 07-21-2009, 12:00 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by metrofox View Post
Here are the slacky.eu's packages:

http://repository.slacky.eu/slackwar.../ChangeLog.txt

They're really a lot...
We get your point... there is no need to keep repeating it.

Eric
 
Old 07-21-2009, 12:30 PM   #11
metrofox
Member
 
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236

Rep: Reputation: 37
Quote:
Originally Posted by Alien Bob View Post
We get your point... there is no need to keep repeating it.

Eric
Eheh sorry guys Sorry Bob...
 
  


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
a tgz that doesn't end in tgz flebber VectorLinux 3 05-03-2006 05:31 AM
tgz file doesn't end in .tgz? detpenguin Slackware 4 05-15-2004 07:13 PM
how to tgz Longinus Slackware 5 12-14-2003 10:48 AM
tgz depaul Linux - Software 4 08-26-2003 02:36 PM
X Sever crash after xset.tgz & vg16.tgz install lachlan Slackware 0 08-13-2003 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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