-   Slackware - Installation (
-   -   How to install only certain packages and their dependencies on slackware 13? (

timetraveler 04-28-2010 01:37 PM

How to install only certain packages and their dependencies on slackware 13?
I am installing to a CF card and need to keep it under 4GB so I need to pick and choose only the packages I need. Is there a simple way to install a package and then only install that packages dependencies?

I want to install a minimum X environment for example and don't want to install everything in the x set.

Also was looking for a non-x emacs package, does one exist already?
I installed the emacs from the e set but it is emacs for X so it has many dependencies.

onebuck 04-28-2010 01:45 PM


Look at 'Minimal System' SlackWiki method as to what packages you should install to have a base system.

'HOWTO make your own custom Slackware install disk' , Samac's LQ technique, some cautions but good. Here is a method of cutting your Slackware to fit you by using Alien_Bob's script.

Plus do a search on the LQ Slackware forum as this subject has been covered.

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

timetraveler 04-28-2010 02:12 PM is down

Maybe I should restate what it is I want to do.

Suppose I want emacs and I only want to install emacs and its dependencies. Is there are program that will determine what dependencies emacs has and only install those packages?

someprogram emacs

...please wait constructing dependency list
List created
I will install these packages

timetraveler 04-28-2010 04:55 PM

What do experts think of this idea?

The program is installit

installit emacs

This would unpack the emacs package
run ldd on the executables
make a list of "not found" libs
take that list and look through a files.list of all files from all packages

xz -c -d slackware/*/*xz |tar tvf - > files.list

find the package that is needed and install that too

Does something like this exist?

I looked at ~alien's mirror script but that's something different.

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