Re: determining the smallest Linux installation to run a particular app

From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 01/12/04


Date: Sun, 11 Jan 2004 22:24:35 -0500


"Jean-David Beyer" <j@d.b> wrote in message news:3FFC6085.4040200@d.b...
> Bob Kircher wrote:
> > Because my Linux app needs to be distributed with the OS, and I want
> > to minimize the overall size of the distribution, I need to determine
> > the smallest set of packages that are required to run my app.
> >
> > Is there a programmatic way to determine this?
> >
> You can find out part of what you need with the ldd command that shows
> you which libraries are used by your program. For example,

Ouch. Painful.

If the package is RPM based, you can say "rpm -q package --requires" to get
a starting list, then go down the list of packages to see what else is
needed. Alternatively, if your installation is kickstart based or your
installation has the "yum" package manager, you can use it to automatically
find all the dependencies and try to supply them after installation of a
minimal OS.



Relevant Pages

  • Re: native texlive and yum
    ... 1-month old broken dependency on the latex binary) I have decides to ... *nonrelated" packages. ... Is there a way for forcing their installation without installing ... packages requiring a LaTeX distribution. ...
    (Fedora)
  • Re: distribution points
    ... I'm wondering why you choose at logon for doing the patch installation? ... >>> Office to small bespoke packages for just a few clients. ... distribution points are meant to get SMS packages close to ...
    (microsoft.public.sms.misc)
  • Re: debian
    ... Linux Standard Base Core Standard http://www.linuxbase.org/spec/ ... installation of add-on application software packages. ... built for the specific distribution and release that they have. ...
    (alt.linux)
  • Re: Recommendations for updating/replacing distribution?
    ... Your choice is basically between MiKTeX 2.7 and TeXLive 2008. ... that makes it hard to keep track of packages ... Manual changes in the installation tree are the shortest way to end up ... the distribution would let you specify ...
    (comp.text.tex)
  • determining the smallest Linux installation to run a particular app
    ... Because my Linux app needs to be distributed with the OS, ... to minimize the overall size of the distribution, ... the smallest set of packages that are required to run my app. ... Bob Kircher ...
    (comp.os.linux.setup)