LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-09-2011, 10:20 AM   #1
frabato56
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Rep: Reputation: Disabled
dependency handling


Hi All,

I'm using slackware 13.37 and I must say that I really like this distro and the biggest problem is the lack of dependency handling. This is something that bites you right away because you have this nice clean simple operating system but unless you really know what's dependent on what you have to install piles of stuff with lots of programs with duplicate functions. A minimal install option would be nice and I can see from some of the threads that even those with a good deal of experience have had a hard time doing a minimal install. I tried about ten times using different guides but I always ended up with something broken so now I have the full install running fine but with tons of stuff that I don't want or need including most of kde. Anyway, I don't think that the slackware people are going to change their minds about dependency handling anytime this century.
Although for those who have said that it's a FEATURE, I'd point out that all distros have this feature, JUST DON'T USE THEIR PACKAGE MANAGER! So with all that said, I think it's a shame about the lack of dependency handling but I still like slackware well enough to use it even though I find the dependency thing quite annoying. I know that there are people here that have a lot more experience than I do and maybe there are some tools that could make this business easier. So how do you go about removing programs? Debian has deborphan and Arch has pacman -Rd. When you remove a program in slackware, how do you then get rid of all the unneeded dependencies? Any help would be greatly appreciated.

Thanks
 
Old 07-09-2011, 10:55 AM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by frabato56 View Post
Hi All,

I'm using slackware 13.37 and I must say that I really like this distro and the biggest problem is the lack of dependency handling.
For me the lack of dependency checking in Slackware is a strength, not a deficit. The system administrator (that's you) checks dependencies. A full install of Slackware works out_of_the_box with all dependencies met.
 
2 members found this post helpful.
Old 07-09-2011, 10:59 AM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by frabato56 View Post
for those who have said that it's a FEATURE, I'd point out that all distros have this feature, JUST DON'T USE THEIR PACKAGE MANAGER!
Their package managers break if you do that. So it's not the same situation at all.

Anyway, if you do remove a package and find that you've broken something, you can easily find out which specific file you still needed (from error messages, ldd output, etc). Then you can look at the MANIFEST.bz2 file to see which package contains that file, and put that package back.

And please keep in mind that the recommended install, especially for new users, is a full install. Not a minimal install.

Last edited by dugan; 07-09-2011 at 11:08 AM.
 
3 members found this post helpful.
Old 07-09-2011, 11:01 AM   #4
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
I keep all of my packages in a folder.
Inside that folder I have separate folders for individual packages with there deps as well as a “not_used folder”.
If I want to install a single package I navigate into that folder and run
upgradepkg --install-new *.t?z
or to remove
removepkg *.t?z

To install “all” packages I go into the main package folder that contains all of the separate package folders an issue
upgradepkg --install-new *?/*.t?z
or to remove
removepkg *?/*.t?z

When I remove a package (with the deps) I move it to the “not_used” and return to the main folder and the run
upgradepkg --install-new *?/*.t?z
to be sure that I still have all the deps that I need for other packages that may have used one of the removed deps.

Last edited by slackass; 07-09-2011 at 11:03 AM.
 
1 members found this post helpful.
Old 07-09-2011, 11:16 AM   #5
frabato56
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks,

All replies were helpful and I have since also found this list:http://www.tomas-m.com/blog/upload/s...deps-13.37.php
and: http://depfinder.sourceforge.net/

Thanks agian to all.
 
Old 07-09-2011, 11:31 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Quote:
Originally Posted by frabato56 View Post
I think it's a shame about the lack of dependency handling but I still like slackware well enough to use it even though I find the dependency thing quite annoying.
You might like Salix, a Slackware respin. The packages are the same (except for the extra ones), but dependency handling is added, together with some configuration tools. Slackers believe the old saying "the best way to get a job done properly is to do it yourself". The rest of us prefer "why keep a dog and bark yourself".
 
Old 07-09-2011, 11:50 AM   #7
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Quote:
Originally Posted by DavidMcCann View Post
You might like Salix, a Slackware respin. The packages are the same (except for the extra ones), but dependency handling is added, together with some configuration tools. Slackers believe the old saying "the best way to get a job done properly is to do it yourself". The rest of us prefer "why keep a dog and bark yourself".
Yeah but then your tethered to a repo and can only get whats on that repo.
Last time I looked it still doesn't have k9copy.
If you want K9copy on Salix you still have to build it your self and chase down all the deps.
Don't get me wrong, I think Salix is a great distro and I do mess around with it from time to time.
But why have a little dog when you can have a big one.
 
Old 07-09-2011, 11:51 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by DavidMcCann View Post
"why keep a dog and bark yourself"
I don't get it.
 
Old 07-09-2011, 11:58 AM   #9
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Priorities

Greetz
I'd rather fix a broken app than a broken system any day. This is especially true when the installation of said app was done only by me, the admin/operator, than software in the background hidden from sight. This sort of "feature" is compounded like you wouldn't believe when you uninstall something since such algorithms were apparently written by Attila the Hun.
 
Old 07-09-2011, 12:21 PM   #10
frabato56
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
I know that this is an old subject and people have their opinions that are relevant for the way that they like to do things. I don't mind dealing with dependencies myself when I'm installing a program but being forced to install a pile of stuff that I don't want is a bigger problem for me especially when it's difficult to remove all of the cruft. I've found a few more resources and a more recent thread on minimal install so I'll give it another try. I would rather install a minimal system and then build everything myself, I don't have a problem with that. If I can't figure out how to do a minimal install, I'll give Salix a try. Thanks again for all the replies.
 
Old 07-09-2011, 06:12 PM   #11
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You can do a minimal install in Salix: "Salix comes with three different installation modes. *** Basic Mode provides a user with a graphical desktop environment, a web browser and Gslapt package manager. *** The Core Mode installs the minimum software essential for a console system to start (i.e. a graphical environment is not provided)." Core should be minimal enough!
 
Old 07-09-2011, 07:08 PM   #12
frabato56
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks David,

I'll check it out.
 
Old 07-10-2011, 05:22 AM   #13
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by DavidMcCann View Post
The rest of us prefer "why keep a dog and bark yourself".
Quote:
Originally Posted by MTK358 View Post
I don't get it.
I had problems with the saying as well. After reading it again I guess he means, why have an OS and do yourself what the OS is supposed to do?

In that case, I agree with slackass:

Quote:
Originally Posted by slackass View Post
But why have a little dog when you can have a big one.
But perhaps I'm misunderstanding everything...
 
Old 07-10-2011, 07:08 AM   #14
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Rep: Reputation: 56
Quote:
Originally Posted by slackass View Post
Yeah but then your tethered to a repo and can only get whats on that repo.
There's neat gui program to grab buildscripts and sources from slackbuilds.org and build and install them in Salix. I guess you still have to README to get the list of required dependencies. Slackbuilds.org probably does not list dependencies which are already included in slackwares full install, thus, it may be a bit more complicated than just reading the provided READMEs to get all the dependencies of an app installed with minimal slackware or salix install.

While for a few times i've missed a feature to uninstall a program along with not-shared dependencies, it becomes a non-issue after a while, because you already remember what is for what in you system after some time of manual dependency handling - you gain an insight which will help maintaining your system and troubleshoot it - a nice side efect of using slackware.
 
Old 07-10-2011, 07:21 AM   #15
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
sbopkg queuefiles make dependency handling easy. Once you've got the queuefiles, then it's just a matter of running:
Code:
sbopkg -i whatever.sqf
 
1 members found this post helpful.
  


Reply



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
Automatic dependency handling in Arch Alexvader Arch 2 02-26-2010 04:54 PM
how error handling is done in C crs_zxf Programming 10 01-05-2010 07:05 AM
request_irq() handling. ksrinivas Linux - Kernel 0 08-07-2007 03:07 AM
Signal handling in C scoban Programming 2 12-18-2006 12:54 AM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 09:03 PM

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

All times are GMT -5. The time now is 03:10 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
Open Source Consulting | Domain Registration