LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-11-2015, 11:25 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Best Slackware dependency manager


There appear to be a number of tools available for dependency resolution in Slackware, e.g. slapt-get (and gslapt), sbotools (http://dawnrazor.net/sbotools/) and usm (http://sourceforge.net/projects/usm/). Though they are are not in line with main philosophy of Slackware, they appear to be being used commonly. Which of these (or any other) have you found most reliable and useful. Thanks for your insight.
 
Old 11-11-2015, 11:44 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
All are to some extent reliable and useful.

But there is a caveat: there will still be some cases where the dependency tool fails, because of some changes in the configure options, the versions used, etc. that the tool can hardly take into account/know of.

Using only genuine Slackware packages is a guarantee that all the components work and fit together.

That doesn't mean that using one of theses tools is forbidden: personally I use sbopkg/sqg very often. But doing so _can_ occasion issues (like e.g. replacing a library shipped in Slackware by another version that could prevent another application to work), so be warned.

You will minimize the risks if you:
  • are very careful on what you build and install and where and who does that come from,
  • always use the Slackware commands for installing/removing/replacing packages (possibly through a front end),
  • are prepared to reinstall genuine Slackware packages if need arises.

Last edited by Didier Spaier; 11-12-2015 at 04:57 AM. Reason: s/need be/need arises/
 
Old 11-11-2015, 11:57 AM   #3
Toutatis
Member
 
Registered: Feb 2013
Posts: 411

Rep: Reputation: Disabled
One useful tool is also to ldd all the bin, lib, lib64 directories and subdirectories, and check the .la and .pc files.
 
Old 11-11-2015, 12:04 PM   #4
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
One that I use from time to time is slpkg. It works great for SBo. Just report the bugs you find to the maintainer and they usually get fixed relatively quickly. I don't recommend using it on -current, just for 14.1.

I regularly use sbopkg/sqg, slackpkg+ and good old pkgtools on -current.
 
Old 11-11-2015, 12:42 PM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Best Slackware dependency manager

Great tips in this thread!
In the final analysis the best Slackware dependency manager is you when things go awry or if one of the excellent above-mentioned tools fail. I love Slackware because it does not have dependency resolution.
 
Old 11-12-2015, 04:37 AM   #6
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,967

Rep: Reputation: 1545Reputation: 1545Reputation: 1545Reputation: 1545Reputation: 1545Reputation: 1545Reputation: 1545Reputation: 1545Reputation: 1545Reputation: 1545Reputation: 1545
My

I've been using the Me-Myself&I dependency manager. It's awesome.
 
1 members found this post helpful.
Old 11-12-2015, 04:52 AM   #7
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by rng View Post
There appear to be a number of tools available for dependency resolution in Slackware, e.g. slapt-get (and gslapt), sbotools (http://dawnrazor.net/sbotools/) and usm (http://sourceforge.net/projects/usm/). Though they are are not in line with main philosophy of Slackware, they appear to be being used commonly. Which of these (or any other) have you found most reliable and useful. Thanks for your insight.
look at Salix, there are the dependency info beside the package, so it's full optional and follows therefore IMHO the main philosophy of Slackware, but slapt-get can deal with it.
 
Old 11-12-2015, 08:59 AM   #8
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 149

Rep: Reputation: 33
Quote:
Originally Posted by chrisretusn View Post
My

I've been using the Me-Myself&I dependency manager. It's awesome.
And when something breaks, you can contact support @ 127.0.0.1
 
Old 11-12-2015, 10:24 AM   #9
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
sbotools does a good job of getting the majority of "required" dependencies thanks to how SBo uses the .info files (you can choose to do optional stuff yourself). Everything else in Slackware however mainly revolves around doing a full/complete installation.

It would be nice to add dependency information into the main tree of packages, but it's mostly unnecessary.
 
Old 11-12-2015, 10:49 AM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
It would be nice to add dependency information into the main tree of packages
Already available:
http://slackware.org.uk/salix/i486/slackware-14.1/deps/
http://slackware.org.uk/salix/x86_64...are-14.1/deps/
Quote:
but it's mostly unnecessary.
Completely useless for a Slackware full installation, useful in other cases, e.g. for derivatives that do not ship all Slackware packages in their distribution media like Salix or Slackel.

Last edited by Didier Spaier; 11-12-2015 at 10:51 AM.
 
2 members found this post helpful.
Old 11-12-2015, 01:56 PM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Just for fun.

Want to know how many packages depend on ncurses?
Code:
cd /some/path/i486/deps/
grep ncurses *|cut -d. -f1|wc -l
83
I requested an upgrade of ncurses but understand that this needs some time

EDIT actually, piping to cut is unnecessary to just get the number.

Last edited by Didier Spaier; 11-12-2015 at 02:50 PM. Reason: Edit added.
 
Old 11-13-2015, 06:54 AM   #12
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
In addition, it is also available as "PACKAGE REQUIRED:", "PACKAGE CONFLICTS:", "PACKAGE SUGGESTS:" lines of
http://slackware.org.uk/salix/i486/s...1/PACKAGES.TXT
http://slackware.org.uk/salix/x86_64...1/PACKAGES.TXT
slapt-get uses these sources.
 
1 members found this post helpful.
Old 11-13-2015, 07:02 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by bormant View Post
In addition, it is also available as "PACKAGE REQUIRED:", "PACKAGE CONFLICTS:", "PACKAGE SUGGESTS:" lines of
http://slackware.org.uk/salix/i486/s...1/PACKAGES.TXT
http://slackware.org.uk/salix/x86_64...1/PACKAGES.TXT
slapt-get uses these sources.
Thanks Serg. Learning how slapt-get works is in my TODO list
 
Old 11-13-2015, 11:13 AM   #14
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by rng View Post
There appear to be a number of tools available for dependency resolution in Slackware, e.g. slapt-get (and gslapt), sbotools (http://dawnrazor.net/sbotools/) and usm (http://sourceforge.net/projects/usm/). Though they are are not in line with main philosophy of Slackware, they appear to be being used commonly. Which of these (or any other) have you found most reliable and useful. Thanks for your insight.
I have tried almost all of third party package managers and in my opinion all of them have their pros and cons.

I think the best and the most conservative way to install packages on Slackware is: going to SBo site, reading info file of needed package and it's dependencies, manually downloading package source and SlackBuild (downthemall add-on works very good on mozila based browsers), manually building package and installing it using installpkg. For packages with many dependencies (they are few) you can use Alien repository.

Using dependency manager tools without necessary attentions always have the risk of replacing stock Slackware packages with newer/older/modified version of same packages.

Last edited by travis82; 11-13-2015 at 11:32 AM.
 
1 members found this post helpful.
Old 11-13-2015, 11:34 AM   #15
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
I think I will try Salix again as I explained at bottom of this page: http://www.linuxquestions.org/questi...727/page2.html
 
  


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
[SOLVED] virt-manager slackbuild dependency problem slackware 14.1 multilib bmarley83 Slackware 20 11-13-2015 09:30 AM
LXer: New open source dependency manager on the scene LXer Syndicated Linux News 0 01-22-2015 11:41 PM
Updated lfspkg LFS/BLFS package manager with dependency management Keith Hedger Linux From Scratch 13 04-21-2014 06:13 AM
failed dependency for avidemux in slackware 10.2 sharathg786 Slackware 8 12-03-2006 08:15 PM
dependency checking in slackware? hottdogg Slackware 8 09-02-2006 05:41 PM

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

All times are GMT -5. The time now is 04:45 AM.

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