[SOLVED] How to take care of dependencies while installing applications?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Linux Mint 11 (Katya), Slackware 13.1, Slackware 13.37
Posts: 30
Rep:
How to take care of dependencies while installing applications?
I am quite new to Slackware Linux. After reading quite a lot about this distro, I have come to know that Slackware doesn't provide tools for managing dependencies. So how do I take care of dependencies?
If there's already a thread regarding this, please redirect me to that particular thread.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Start with a full install. RTFM before installing new applications (for example, slackbuilds.org lists dependencies in the build script descriptions).
That's really it.
If you need to install a number of SlackBuilds in a specific order (to satisfy dependencies), then you can use sbopkg (it's a frontend for SlackBuilds.org) to create and run a build queue.
yeah, what he said.... sbopkg saves a lot of headaches. you can even select a package with dependencies, go select the dependency packages, then re-sort the queue to install the packages in the correct order. this saves a lot of time and trouble. the only problem i'm finding with sbopkg is that some packages i want have been moved or whatever from their address as sbopkg sees it.
Last edited by unclejed613; 04-06-2011 at 12:35 PM.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Adding just a little bit to dugen's excellent advice, you may want to build something for which there is no SlackBuilds.org or Slacky.eu or some other Slackware package available; e.g., you download a package.tar.gz, unpack it and proceed with configure-make-make-install. When configure runs, it'll typically yammer at you about missing libraries and the like and stop. Pretty simple to find and install something that's missing or the wrong version or whatever and rerun configure till you get a successful conclusion. Not as pleasant as simply executing Whatever.SlackBuild but easy enough to not be a huge problem (and, usually, things that are missing or the wrong version are available at SlackBuilds.org.
One additional tool you may want to have is Src2Pkg which is an excellent automagic Slackware package build-a-package-from-the-source utility -- it won't deal with missing or version dependencies (that's your responsibility), but it goes a long way toward making what you do choose to install easy to maintain and update.
Fact is, library and version requirements are almost always included on the source web site or in a README or INSTALL file in the software package. Ain't that hard.
but rember to use packages made by slackbuilds whenever possible, you'll find much easier to track which stuff is installed and where (you'll have to trade the losing of this feature when you just "configure; make; make install").
You can cheat by looking at the repositories http://www.salixos.org/wiki/index.php/Download for SalixOS (based on Slackware) but with dependency tracking. I often look to see if they have a package and look at the dependency list.
You can cheat by looking at the repositories http://www.salixos.org/wiki/index.php/Download for SalixOS (based on Slackware) but with dependency tracking. I often look to see if they have a package and look at the dependency list.
samac
I have used Salix as an extra source of packages as well. Quite handy and they provide build scripts in their source directory if you do want to customise a package. They build scripts are typically in SLKBUILD format but this doesn't bother me as I also use Arch and SLKBUILDs and PKGBUILDs (from Arch) look very similar.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.