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 04-11-2010, 07:49 AM   #1
icecubeflower
Member
 
Registered: Mar 2008
Location: USA
Distribution: Slackware 13.1
Posts: 304

Rep: Reputation: 33
why slackbuilds?


Slackbuilds are really easy but what is the point? I mean it just builds a package and sticks it in /tmp. Why not just have the packages for download? I don't get it.
 
Old 04-11-2010, 08:08 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Some software needs to be compiled for your specific machine/kernel (or -as a minimum- works better if it is.)
 
Old 04-11-2010, 08:29 AM   #3
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Nearly all software depends on other software - dependencies. Often these are not present or there but incorrect versions. Building locally will more often than not check for appropriate dependencies which is very useful. The other alternative is to include dependencies with all packages which is not practical (possibly not even possible) and may still cause version conflicts. There are other localisations which need to be accounted for not to mention customisation options - making software accommodate what you want.

In general building things locally is much safer and more reliable than installing packages from elsewhere - not ignoring the "trust" factor.
 
Old 04-11-2010, 08:40 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
Quote:
Originally Posted by icecubeflower View Post
Slackbuilds are really easy but what is the point? I mean it just builds a package and sticks it in /tmp. Why not just have the packages for download? I don't get it.
I assume you are talking about http://slackbuilds.org ? As the name implies, our goal is to have a large repository of build scripts that are well-tested and which you should be able to use with ease on your local system. We are explicitly not interested in creating or hosting the resulting packages.

We host the build scripts which does not require a lot of bandwidth if a lot of users download them. If we were to host the packages that would cost us a lot more in terms of bandwidth and money.

However, we do not mind if others want to host the packages they created with the use of our SlackBuild scripts.

As for other sites than slackbuilds.org - there are several which supply packages along with the build scripts. My own repository, and that of Robby Workman, but also http://slacky.eu and http://gnomeslackbuild.org are examples of that.

Eric
 
Old 04-11-2010, 09:21 AM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,438

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Slackbuilds can be customised for local installs (e.g. internationalisation in OpenOffice).
Also Slackbuilds can usually be easily modified to compile new versions of software.
 
Old 04-11-2010, 09:31 AM   #6
Alvin Chey
LQ Newbie
 
Registered: Jan 2006
Location: Singapore
Distribution: Slackware64 14.0 Stable (64-bit)
Posts: 9

Rep: Reputation: 8
Quote:
Originally Posted by icecubeflower View Post
Slackbuilds are really easy but what is the point? I mean it just builds a package and sticks it in /tmp. Why not just have the packages for download? I don't get it.
Personally, I find Slackware package system really shine in the context where high-speed, high-quality Internet connection is not available (for example suburban or rural areas that might not have such services).

All I have to have is 1) Slackware Installation CD, 2) Portable harddisk or CD containing all the packages I have prepared using Slackbuild, Slackbuild scripts and source codes.

All I need to do is setup up a computer and install the packages ... all done without Internet access!


With Slackbuild, I could achieve the equivalent of "configure; make install" process and at the same time having the bonus of easily tracking what compile options I've used or what I've installed (by looking at /var/log/packages). And I could easily remove or upgrade the package.

With some software (like OpenOffice.org), Slackbuild scripts actually repackages the binary instead of compiling. But I still get a package at the end. I could just simply install the package like any other packages.


In conclusion, Slackbuild scripts make sense to me because:
1. Helps me make packages and be less dependent of high-speed internet connection. Can easily share packages across computers too.
2. Install, upgrade or remove any software packages the same way (regardless or how the software is distributed or packaged upstream)
3. Document compile time options. Track what software was installed and what file was added (via /var/log/packages)
 
1 members found this post helpful.
Old 04-11-2010, 09:55 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,030
Blog Entries: 52

Rep: Reputation: Disabled
Quote:
why slackbuilds?

Because it's fun, and better than TV, watching things compile. Sitting with eyes glued to the terminal, trying to read all that stuff about "dereferencing type-punned wotsits breaking aliassed thingies".
 
Old 04-11-2010, 10:11 AM   #8
icecubeflower
Member
 
Registered: Mar 2008
Location: USA
Distribution: Slackware 13.1
Posts: 304

Original Poster
Rep: Reputation: 33
Thx everybody. Hey just so everybody knows I was assuming there were really good reasons for it and I just didn't know anything about it so I asked. I wasn't suggesting they get rid of slackbuild scripts and go with packages like no one ever thought of it before.

So scripts are cheaper to host than packages and it can work better if it's compiled to my specific kernel and the versions of the dependencies I have. Got it.
 
Old 04-11-2010, 10:55 AM   #9
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Rep: Reputation: 56
Hi,

If we forget of all about that rather mysterious 'sources'
'binaries' using slackbuild scripts is an installation procedure, nothing else.

I'm thinking about making a script, some a kind of 'pkgtool' but
aimed at working with slackbuild.org and other
slackbuild script's repositories. Any idea?


Also I read somewhere that there are apps which should be compiled with disabled ACPI function (in BIOS). Know why? I can only guess.
 
Old 04-11-2010, 11:05 AM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter View Post
I'm thinking about making a script, some a kind of 'pkgtool' but aimed at working with slackbuild.org and other slackbuild script's repositories. Any idea?
Yes, look at http://sbopkg.org/ - Chess Griffin already implemented that idea.

Eric
 
Old 04-11-2010, 12:11 PM   #11
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
Thumbs up

Quote:
Originally Posted by brianL View Post
Because it's fun, and better than TV, watching things compile. Sitting with eyes glued to the terminal, trying to read all that stuff about "dereferencing type-punned wotsits breaking aliassed thingies".
+1
 
Old 04-11-2010, 12:11 PM   #12
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 449

Rep: Reputation: 41
Now that the OP solved his question...

Quote:
Originally Posted by brianL View Post
Because it's fun, and better than TV, watching things compile. Sitting with eyes glued to the terminal, trying to read all that stuff about "dereferencing type-punned wotsits breaking aliassed thingies".
I find that watching things compile is similar to watching an aquarium (assuming no errors and -minus the boredom to death of fishes). Gentoo and FreeBSD are also good for this type of entertainment.
Cheers!

Last edited by MannyNix; 04-11-2010 at 12:17 PM. Reason: added comment about fishes
 
Old 04-11-2010, 12:17 PM   #13
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by MannyNix View Post
Now that the OP solved his question...



I find that watching things compile is similar to watching an aquarium (assuming no errors). Gentoo and FreeBSD are also good for this type of entertainment.
Cheers!
I agree, but I'm not sure that's not an indicator of something being wrong with me!
 
  


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
Current and SlackBuilds SqdnGuns Slackware 8 05-18-2009 04:55 AM
Slackbuilds from 12.0 for 12.1 arubin Slackware 7 05-07-2008 03:51 AM
Slackbuilds question svar Slackware 3 01-05-2008 01:36 PM
Slackbuilds are great arubin Slackware 1 12-17-2007 07:42 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM


All times are GMT -5. The time now is 05:43 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration