LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


View Poll Results: What do you use for controlled source install in Slackware?
checkinstall 2 5.41%
src2pkg 19 51.35%
make uninstall 0 0%
other 16 43.24%
Voters: 37. You may not vote on this poll

Reply
  Search this Thread
Old 05-21-2008, 02:51 AM   #1
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
Slackware 12.1 checkinstall or an alternative?


Hi Everyone.
After reading this:
Quote:
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.
 
Old 05-21-2008, 03:37 AM   #2
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, Dragonfly BSD, OpenBSD
Posts: 814

Rep: Reputation: 49
Quote:
Originally Posted by jimdaworm View Post
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.
 
Old 05-21-2008, 03:42 AM   #3
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
Src2pkg all the way baby. Fine, fine piece of software.
 
Old 05-21-2008, 03:50 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,447

Rep: Reputation: 5711Reputation: 5711Reputation: 5711Reputation: 5711Reputation: 5711Reputation: 5711Reputation: 5711Reputation: 5711Reputation: 5711Reputation: 5711Reputation: 5711
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.

Eric
 
Old 05-21-2008, 05:40 AM   #5
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Other - I compile my own packages.
 
Old 05-21-2008, 07:41 AM   #6
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
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/

Last edited by wadsworth; 05-21-2008 at 07:54 AM.
 
Old 05-21-2008, 07:47 AM   #7
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
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.
 
Old 05-21-2008, 07:49 AM   #8
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 732

Rep: Reputation: 173Reputation: 173
Quote:
Originally Posted by wadsworth View Post
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.
 
Old 05-21-2008, 10:36 AM   #9
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
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
 
Old 05-21-2008, 11:34 AM   #10
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
Other - Custom SlackBuilds since i like to keep my /tmp clean
 
Old 05-21-2008, 11:52 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
I use paco, but I've used the others and they're good too.
 
Old 05-21-2008, 01:40 PM   #12
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,897

Rep: Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577
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.
 
Old 05-21-2008, 01:45 PM   #13
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,368

Rep: Reputation: Disabled
Src2pkg mainly, but sometimes use a slackbuild.
 
Old 05-21-2008, 02:49 PM   #14
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
Thanks Gnashley, i understand this as i used Src2pkg before i learned how to write SlackBuilds. But the latter gives me something to do at the office
 
Old 05-21-2008, 05:13 PM   #15
GazL
Senior Member
 
Registered: May 2008
Posts: 4,952
Blog Entries: 15

Rep: Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559
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.
 
  


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
Slackware 12.0 and checkinstall jrdioko Slackware 3 09-21-2007 05:20 AM
checkinstall alternative dnraz Linux - Software 0 09-18-2004 11:04 AM
checkinstall with slackware. e1000 Slackware 3 10-19-2003 07:25 PM

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

All times are GMT -5. The time now is 09:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration