LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Tools to purge unused pkg/libs/etc. (http://www.linuxquestions.org/questions/slackware-14/tools-to-purge-unused-pkg-libs-etc-889127/)

BerzinTehvs 06-30-2011 02:03 AM

Tools to purge unused pkg/libs/etc.
 
Hi!

Are there some effective tools to purge the system of unused libs/pkg and other files?

Till now I found localepurge (i do not remember where i found it) which does some trick, but I am sure there is a lot of other things laying around in Slack with no real reason to be there in some minimal installation.

I found also unsuedpkg in google.code, but it does nothing on a fresh system.

Such question won't rise if Slack team wouldn't be forgetting about Slack's significance in server segment and putting big efforts in "deskopisation" of it. I'd be happy seeing directories like xlibs/ and mm_stuff/ where all x related libs and multimedia related ehhh... files could go (I hope developers will see this message).

DragonWisard 06-30-2011 06:52 AM

I'm sure the developers haven't forgotten about Server installs, but the philosophy of Slackware has always been that the system administrator is uniquely qualified to manage the packages on their own system and their dependencies.

I believe a minimal Slackware install would consist of just the packages in the a/ branch. After that, just install the packages you need along with any dependencies they require.

The page may be useful for resolving dependencies, but remember that it is dynamically generated so it may not be 100% accurate.
http://www.tomas-m.com/blog/upload/s...deps-13.37.php

Mark Pettit 06-30-2011 07:06 AM

Do note that even though you may be using a machine as a 'server', it may still require certain graphics functions. For example, when I install Sybase (even on a headless box), the installer has to be run via graphics tool. Of course, I need to use the 'DISPLAY=1.2.3.4:0.0; export DISPLAY' trick. Point is that the install would fail if the graphics libraries were not on the server. I would imagine that installing Oracle would also require such a method as it's also a graphical install. I'm sure there are many other server based programs which can be administered via graphical tools over X.

BerzinTehvs 06-30-2011 07:56 AM

You forgot about something from /n series :)

Yes, that's clear - if someone wants to get rid of x-es, many things could have a need for re-building.

If I intend to use Slack as LAMP or LAPP server, i do not need x-es and respective libs and apps at all.


All times are GMT -5. The time now is 03:45 AM.