LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-08-2015, 11:05 PM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,077

Rep: Reputation: 43
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.
 
Old 11-09-2015, 05:45 AM   #2
af7567
Member
 
Registered: Nov 2012
Posts: 204

Rep: Reputation: 68
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.
 
Old 11-09-2015, 08:49 AM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 9,039

Rep: Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903
There's also a project called sbotools, which does that.
 
Old 11-09-2015, 08:59 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,403
Blog Entries: 31

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


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
development/jdk insecure SlackBuild script and source 32bit compressed file ? xavi_slacky Slackware 9 06-15-2013 04:34 AM
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 07:53 PM
How to bypass dependencies in SlackBuild just.srad Slackware 12 05-30-2013 12:16 PM
Gambas: Package or SlackBuild and dependencies? gargamel Slackware 8 10-03-2010 12:23 PM
slackbuild script darksaurian Slackware 9 07-11-2010 05:58 PM

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

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