SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: What do you use for controlled source install in Slackware?
Note: There are currently issues between CheckInstall and Slackware 12. A workaround is documented on the CheckInstall Homepage: alias checkinstall to “checkinstall --fstrans=no”
My first question does slackware 12 include 12.1?
Secondly, what are you using for controlled source install? I have been reading about src2pkg on here but have never used it.
Hi Everyone.
Secondly, what are you using for controlled source install? I have been reading about src2pkg on here but have never used it.
If you are not able to write a SlackBuild script for the application you need, you'd better see if the application is not available in www.slackbuilds.org or in www.slacky.eu. If it is not there you should use src2pkg - it is a tool that excels checkinstall.
You should learn how to use SlackBuild scripts. The official Slackware packages are (almost) all built in a controlled fashion, using scripts that are called SlackBuilds, after the extension all these scripts have.
The SlackBuilds.org web site is an example of a repository of unofficial SlackBuild scripts and has a HOWTO section about how to create packages using SlackBuild scripts. Anything built and installed as a package, can be upgraded or removed from your computer in a relatively easy way.
Several repositories exist of pre-compiled Slackware packages that also come with the SlackBuild scripts that were used to build them. Slacky.eu was already mentioned; Robby Workman has a lot, I have a lot as well.
You should look at the Slackware Links page at LQ - http://wiki.linuxquestions.org/wiki/Slackware-Links .. it has a lot of useful information.
Pat V. uses SlackBuilds. Every package in Slackware was compiled using one.
I normally use SlackBuilds from slackbuilds.org, rworkman, Alien Bob, or one of
Pat's. (As a last resort, I'll write my own.)
It just seems like the preferred method of getting a Slackware .tgz package.
Don't see it as a choice in the poll though. Had to vote "other".
Edit:
If you're interested, Chess Griffin has written a nifty little tool
especially for the slackbuilds.org site. http://code.google.com/p/sbopkg/
I think the question was about 'alternatives to checkinstall' rather than 'what is the best way to obtain and build packages'. That is why I voted for src2pkg. Otherwise I would have said SlackBuilds also.
Pat V. uses SlackBuilds. Every package in Slackware was compiled using one.
I normally use Slackbuilds from slackbuilds.org, rworkman, Alien Bob, or one of
Pat's. (As a last resort, I'll write my own.)
It just seems like the preferred method of getting a Slackware .tgz package.
Don't see it as a choice in the poll though. Had to vote "other".
Same here. Years ago, I would use checkinstall or binary packages from various places. Now, I only use SlackBuilds.
Hi Alien Bob I will definitly check that out. I havent used slackware since 10 and do remember using some scripts to build/compile packages but nothing as complete as what there is at slackbuilds.org.
I am going to give it a go Now if only I could find the source code for picasa.
**Thanks for all your input its very interesting!
Last edited by jimdaworm; 05-21-2008 at 10:37 AM.
Reason: Thanks
C-Sniper, src2pkg makes it easy to build packages without using /tmp. I personally build everything in the current directory which makes it easier to inspect both the source and package content.
I prefer to put things in /opt/<packagename-version> and then use symlinks or wrapper scripts in a directory in the $PATH. Removing them is then a case of a simple 'rm -rf' and cleaning up any broken symlinks. This has the advantage that you can have multiple versions installed concurrently as long as you manage the symlinks appropriately.
Alternatively, if the software isn't suitably standalone for this sort of approach I normally knock up a quick slackbuild/package and stick it under /usr with everything else, but I prefer /opt wherever practical.
/usr/local I keep for the programs/scripts I've written myself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.