Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Slackware - Installation This forum is for the discussion of installation issues with Slackware.


Search this Thread
Old 04-28-2010, 02:37 PM   #1
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Rep: Reputation: 31
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.
Old 04-28-2010, 02:45 PM   #2
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,377
Blog Entries: 3

Rep: Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477

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!
Old 04-28-2010, 03:12 PM   #3
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Original Poster
Rep: Reputation: 31 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
Old 04-28-2010, 05:55 PM   #4
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Original Poster
Rep: Reputation: 31
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.


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
[SOLVED] How do I install packages with dependencies edentonjr Linux - Newbie 5 04-01-2009 04:17 PM
Continuing to upgrade and install new packages with broken dependencies in the system nautilus Debian 3 06-13-2007 07:59 AM
Slackware 10.0 will not install packages emeraldsword Slackware - Installation 16 01-11-2005 04:52 PM
Where are dependencies in Slackware packages? sbassi Slackware 2 01-15-2004 05:24 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 01:44 AM

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration