LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 04-28-2010, 01:37 PM   #1
timetraveler
Member
 
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, 01:45 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,281
Blog Entries: 3

Rep: Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446
Hi,

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 mirror-slackware-current.sh 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, 02:12 PM   #3
timetraveler
Member
 
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Original Poster
Rep: Reputation: 31
slackbasics.org 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
emacs
libXrandr
libXrender
....
etc.
etc.
 
Old 04-28-2010, 04:55 PM   #4
timetraveler
Member
 
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.
 
  


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


All times are GMT -5. The time now is 11:09 PM.

Main Menu
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