LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   SlackBuilds: what is the best way to manage dependencies? (http://www.linuxquestions.org/questions/slackware-14/slackbuilds-what-is-the-best-way-to-manage-dependencies-4175446487/)

andreas-r 01-20-2013 01:31 PM

SlackBuilds: what is the best way to manage dependencies?
 
Hello!

I'm new to Slackware - I've just spent some time configuring it and installing some things. My questions is about a particular SlackBuild but at the same time I would like to get a better understanding of how things work in Slack-land:

So I've installed avant-window-navigator from SlackBuilds.org and I would like to install awn-extras, a bunch of plug-ins, as well from Slackbuilds.

Awn-extras requires: vala, gdata, webkitgtk, pyinotify, vobject, avant-window-navigator, gnome-python-desktop and feedparser.

Vobject requires: pyicu, python-dateutil and the latter of these requires: distribute and six.

Gnome-python-desktop requires: gnome-python which requires: pyorbit, libgnome.

That seems a bit overwhelming for some launcher-panel plug-ins. I know that SlackBuilds out of principal don't offer pre-built packages and that it is a well-founded decision for Slackware's package manager not to check for dependencies automatically. I, of course, respect that. My questions regard how to go about package management in the easiest way. In the above case:

1. Is there any chance that I already have some of the required packages or do SlackBuilds only list requirements that doesn't come with the standard installation of Slackware 14? (During installation I choose to install as much as possible.)

2. What would be the easiest way to check if I already have certain packages?

3. Is there a trick to installing several things at once from SlackBuilds or is there no way around downloading, unzipping, runnings scripts and installpkg for everything?

ponce 01-20-2013 01:38 PM

Quote:

Originally Posted by andreas-r (Post 4874208)
1. Is there any chance that I already have some of the required packages or do SlackBuilds only list requirements that doesn't come with the standard installation of Slackware 14? (During installation I choose to install as much as possible.)

slackbuilds.org host things that are not present in a slackware full install.

Quote:

2. What would be the easiest way to check if I already have certain packages?
Code:

ls -1 /var/log/packages | grep mypackage
Quote:

3. Is there a trick to installing several things at once from SlackBuilds or is there no way around downloading, unzipping, runnings scripts and installpkg for everything?
yes, sbopkg using queuefiles.

andreas-r 01-20-2013 01:50 PM

Thanks, sbopkg seems to be exactly what I was looking for!

ponce 01-20-2013 02:21 PM

remember that you're supposed to read the READMEs of the slackbuilds.org's scripts you use, they usually contain useful informations (special requirements, optional dependencies and so on). ;)


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