LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-22-2018, 03:09 AM   #1
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Post Slackware package dependency tracking add on tools


Attention!
This is not a trolling thread, nor a dead horse beating thread.
Those who came for that go elsewhere, please.

This is about addons and assessing their dependencies in day to day Slackware administration.

This is important IMHO. I might run a pool based on the feedback on this thread.

In the early days of Mplayer (mplayerhq) and my affairs on Mandrake Linux, i did make it from source and by hand:

1. ./configure
2. check whats missing still
3. find, download and build the missing lib form tarball
4. loop to "1."
5. run make - fails -> goto "1."

so I know (and painstakingly remember) there can be manual dependency tracking - been there; done that.

Nowdays I use Slackware and enjoy it quite well.

But when I have to add and external package I like to:

1. find out the exact name of the missing/desired package
2. assess it's recommended dependencies
3. decide which ones to resolve alongside the package install
4. optionally omit or add some of the undesired dependencies

so far i found I'm best served with following tools:

hoorex - assessing package dependencies back and forth on top of an local SBo repository (works with sbopkg and sbotools)
sbotools - track dependencies and allow for user managed installation of them from SBo scripts and sources (informed choice)
slackpkg+ - the flexible add on to the shipped package manager - allows searching and group based management of packages

The question:

What package dependency resolving tool do You use?
Did You try other resolver tools? Why?
 
Old 09-22-2018, 03:48 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I usually use depfinder: https://github.com/gapan/depfinder I have considered trying other tools but didn't take the time to do that yet. depfinder can find binary dependencies and in most cases python ones (python 2 or python3), not yet perl or ruby ones. My usage of depfinder is mostly to write the .dep files used by slapt-get in Slint. I always review and often manually edit the results.

If a SlackBuild is available @SBo on occasion I also use sqg.

Very important: dependency tracking results are always context-dependent. Practically speaking that means that for instance the .dep files in the Slint repos will probably not be accurate if used in another distribution. Among context factors, the options chosen to configure the software are obviously a major one. That's why in the source dirs I now include configuration summaries.

Don't mix apples and oranges, in other words don't confuse flat (first level) and full (all levels) dependencies.

Please note that core components of a Linux system are practically always needed to run a software, although generally not mentioned in dependencies files: a "core" set of software is implicitly assumed to be already installed, like e.g. those found in the A series of packages in Slackware, or the "core" set of packages in Salix.

And of course we need to distinguish between build-time and run-time dependencies.

Last edited by Didier Spaier; 09-22-2018 at 04:07 AM.
 
5 members found this post helpful.
Old 09-22-2018, 05:22 AM   #3
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
i use slackrepo to create my own slapt-get compatible repository from the scripts at SBo. The virtual machine where I build the packages also runs as a home repository server. I use Gslapt/slapt-get on my laptop to install from there.

It took sometime to set up slackrepo and the hint files to my linking, simply because I had no experience. Things are more clear now and I described the steps I took here:

https://slackalaxy.com/2018/09/09/ow...es-repository/
 
3 members found this post helpful.
Old 09-22-2018, 06:25 PM   #4
BradReed
Member
 
Registered: Apr 2015
Location: Earth
Distribution: Slackware-current
Posts: 106

Rep: Reputation: 55
I honestly have never found manual dependency checking all that difficult. If you need tools to track this, why do you want to use Slackware?
 
1 members found this post helpful.
Old 09-22-2018, 06:55 PM   #5
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Quote:
Originally Posted by BradReed View Post
I honestly have never found manual dependency checking all that difficult. If you need tools to track this, why do you want to use Slackware?
Because, one of the wonderful things about Slackware is the ability to do what ever the hell you want with it.

http://www.wtfpl.net/
 
2 members found this post helpful.
Old 09-23-2018, 01:56 AM   #6
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471

Original Poster
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Cool

Quote:
Originally Posted by BradReed View Post
I honestly have never found manual dependency checking all that difficult. If you need tools to track this, why do you want to use Slackware?
While i might agree that is not that difficult, and Slackware really is shipping with most that matters at hand (and quite so), there are cases where it might be, if not outright tedious, then at least repetitive and and fun depriving task.

An exercise for the reader, on a clean Slackware system :
1. Install Inkscape
2. Install VLC player

and yes, I've had it on manual for quite a while back then.
 
Old 09-23-2018, 04:56 AM   #7
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
If you need tools to track this, why do you want to use Slackware?
because there's more to a Linux distribution than its package management system.
 
1 members found this post helpful.
Old 09-23-2018, 10:06 AM   #8
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Quote:
Originally Posted by SCerovec View Post
While i might agree that is not that difficult, and Slackware really is shipping with most that matters at hand (and quite so), there are cases where it might be, if not outright tedious, then at least repetitive and and fun depriving task.

An exercise for the reader, on a clean Slackware system :
1. Install Inkscape
2. Install VLC player

and yes, I've had it on manual for quite a while back then.
Solved:

1) install and configure slackpkg+ (https://www.linuxquestions.org/quest...on-4175637636/)
2) install inkscape from Salix repo
3) VLC from Alienbob
4) carry on with your day
 
Old 09-23-2018, 12:07 PM   #9
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471

Original Poster
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Talking

Quote:
Originally Posted by ChuangTzu View Post
Solved:

1) install and configure slackpkg+ (https://www.linuxquestions.org/quest...on-4175637636/)
2) install inkscape from Salix repo
3) VLC from Alienbob
4) carry on with your day


Okay that's one way;

but there might be other ways - ways that are more UNIX than this.


Anyone?
 
Old 09-23-2018, 05:25 PM   #10
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
sbopkg, sbotools, slapt-get, manual method...

PS: I use sbopkg for most programs I need that are not in Slackware, for large programs I use slackpkg+ and pull from Alienbob and Salix. On the boxes with Salix its slapt-get and slapt-src (or the GUI equivalent gslapt and sourcery).
 
Old 09-23-2018, 06:05 PM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by SCerovec View Post
but there might be other ways - ways that are more UNIX than this.
I downloaded the most recent UNIX specification and couldn't find anything about dependency tracking among its 3904 pages. Could you please elaborate?
 
1 members found this post helpful.
Old 09-23-2018, 09:48 PM   #12
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by BradReed View Post
I honestly have never found manual dependency checking all that difficult. If you need tools to track this, why do you want to use Slackware?
I spent several months when I first started using Slackware manually working through dependency chains with SBo packages. I found that task to be utterly boring and completely automatable. I also started using Midnight Commander around that time and decided that I really liked that type of interface, so I wrote one kind of like it to manage SBo packages (including resolving dependencies, keeping track of build options, and other stuff that is useful to me). That's one thing I really like about Slackware: you can make it whatever you want it to be. Besides, I don't think I could call really myself a "slacker" if I chose to put in the most effort possible for every task.

Last edited by montagdude; 09-23-2018 at 09:51 PM.
 
6 members found this post helpful.
Old 09-24-2018, 01:27 AM   #13
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471

Original Poster
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Thumbs up

Quote:
Originally Posted by Didier Spaier View Post
I downloaded the most recent UNIX specification and couldn't find anything about dependency tracking among its 3904 pages. Could you please elaborate?
Yes ,
1. Maybe UNIX isn't what it used to be? Or they call it otherwise (they call bytes octets now, right? and hexadecimal is sedecimal or should be for them?)

2. I was referring to the nature of UNIX not the procedure itself:

Code:
# installpkg sbotools...
# sboinit
...
# sboinstall inkscape
...
# sboinstall vlc
...
The low powered PCs have an excuse of low power consumption - so i tend to let them chew away for hours - even days at times.

slapt-get is also very functional and capable
slackpkg+ is an addon for OEM package manager - I also like it
sbopkg can be run standalone and accepts command line parameters - also likeable

but dependency tracking tools (our topic here ) - only two mentioned so far:
hoorex - works ontop both sbopkg and sbotools
sqg - i didn't try out yet (please promote it here in more detail )
IIRC there where at least two more?
 
Old 09-24-2018, 07:43 AM   #14
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by SCerovec View Post
but dependency tracking tools (our topic here ) - only two mentioned so far:
hoorex - works ontop both sbopkg and sbotools
sqg - i didn't try out yet (please promote it here in more detail )
IIRC there where at least two more?
Others (some were mentioned directly or indirectly):
  • sbotools - ports-like interface for SlackBuilds.org
  • slackrepo - automated tool to manage package repositories
  • slapt-src - slapt-get-like tool for SlackBuilds source repositories
  • sboui - ncurses interface for sbopkg, sbotools, or custom SBo package managers. It also has a built-in manager.
  • slapt-get - APT-like package management system for Slackware. Supports dependency resolution for compatible repositories (the main Slackware repository is not one of these).
  • sbbdep - tool for exploring binary runtime dependencies on Slackware and Slackware based systems
  • depfinder - scans Slackware packages and outputs a list of their dependencies
I may have missed some.

Last edited by montagdude; 09-24-2018 at 11:16 AM. Reason: add depfinder
 
5 members found this post helpful.
  


Reply

Tags
dependancy, slackware, tracking



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 package dependency babbab Slackware 18 12-12-2016 12:00 PM
Dependency tracking on Slackware Current, feasible? Owler Slackware 9 05-05-2016 12:37 AM
Slackware tools do not provide dependency resolution for packages ProzacR Slackware 28 01-28-2014 07:34 PM
Looking for slackware with dependency resolution in package management rng Slackware 26 03-12-2012 05:48 AM
Future package dependency resolving tools/issues? MasterC Red Hat 7 08-30-2003 09:14 AM

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

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