LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-03-2006, 12:59 PM   #1
Southpaw76
Member
 
Registered: Dec 2005
Distribution: Slackware-13
Posts: 146

Rep: Reputation: 15
Dependency Checking???


Hello all,
I have a couple of questions regarding dependencies under Slackware... I know that the default Slackware Package management tools do not offer dependency checking at all. This of course is a bit of a shock when you're coming from a distro such as Gentoo or FreeBSD, like myself. However there are lots of things that I do like about Slackware that I don't like about the fore mentioned distro's (mainly Gentoo).

Anyway, not to go too far off topic here, dependencies...
*In Slackware, how do I go about tracking down package dependencies?

*Besides downloading, un-tar, compile and install, are there any other pre-requisites that need to be done per package depedency?

Yes, I am aware of the more automated package managers available such as "Slapt-get" and "SWareT". However, I am a little more interested in doing this by hand then to have an app take care of it for me. No, I'm not a gluteon for punishment, I'm just a little more interested in what's taking place behind the scenes. After using Gentoo for a couple of years, it would be safe to say that I've gotten a bit hung up on Portage. As usual, any suggestions are always appreciated, thanx....
 
Old 09-03-2006, 01:07 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Easy.

1. Read the packager's documentation. They usually tell you what the deps will be.

2. Slack comes with a very nice set of default libs.

3. If you're compiling an app, if there are missing deps it should tell you.

4. If not compiling or it compiles ok but won't run, run it from a terminal and see what it complains is missing.
 
Old 09-03-2006, 01:12 PM   #3
Ruhar
Member
 
Registered: Mar 2006
Distribution: Slackware 12.1
Posts: 95

Rep: Reputation: 15
Quote:
In Slackware, how do I go about tracking down package dependencies?
You'll need to read the documentation for the particular application you want to install for any necessary dependencies. Once you have identified all the dependencies, I generally will compile those that are not included with the Slackware install. In addition, you can use a utility called checkinstall (found under the /extra folder on slackware.com) to install your newly compiled packages. This will ensure that they are turned into slack packages prior to being installed, which will make removal/upgrading easier in the future.

Welcome to Slack.
 
Old 09-03-2006, 01:36 PM   #4
Southpaw76
Member
 
Registered: Dec 2005
Distribution: Slackware-13
Posts: 146

Original Poster
Rep: Reputation: 15
So according to your last comment there Ruhar, it would probably be a good idea to use "checkinstall" on any packages for which I've already installed manually???
 
Old 09-03-2006, 01:56 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Quote:
Originally Posted by Southpaw76
So according to your last comment there Ruhar, it would probably be a good idea to use "checkinstall" on any packages for which I've already installed manually???
checkinstall is the slack substitute for "make install" . If you've already installed those apps, it's a little late for that now.

checkinstall creates a slack package and then installs that.

it's basically ./configure && make && checkinstall instead of ./configure && make && make install
 
  


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
dependency checking in slackware? hottdogg Slackware 8 09-02-2006 06:41 PM
Netpkg adds dependency checking jpgu Linux - News 0 12-24-2005 07:53 AM
i need a command for checking the dependency of a package Uday123 Suse/Novell 7 12-19-2005 01:03 AM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 10:03 PM
Mandrake 9.1 does not pass checking module dependency during boot after installation Middelburg Linux - Newbie 1 06-20-2003 11:56 AM


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