LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Script to get all dependencies from slackbuild file (https://www.linuxquestions.org/questions/slackware-14/script-to-get-all-dependencies-from-slackbuild-file-4175558362/)

rng 11-08-2015 11:05 PM

Script to get all dependencies from slackbuild file
 
Is it possible to create a script that will list all dependencies from a slackbuild file? For example, http://slackbuilds.org/slackbuilds/1...t/QtiPlot.info file. The REQUIRES statement has dependencies. The script needs to check each of these programs to find their dependencies as well, unless they are already in the list. Hence, the aim is to get the full list of dependencies. Thanks for your help.

af7567 11-09-2015 05:45 AM

There is a script called sqg which does this, it is included with sbopkg and installed in /usr/doc/sbopkg-x.x/contrib
You can get sbopkg at https://sbopkg.org/

Sqg will ceeate a queue file and then you can use sbopkg -i to install the package using the queue file.

dugan 11-09-2015 08:49 AM

There's also a project called sbotools, which does that.

onebuck 11-09-2015 08:59 AM

Moderator response
 
Moved: This thread is more suitable in <Slackware> and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 11:33 AM.