Re: determining the smallest Linux installation to run a particular app
From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 01/12/04
- Next message: Nico Kadel-Garcia: "Re: Which flavor to chose?"
- Previous message: Nico Kadel-Garcia: "Dissing newbies from "nunya", was Re: mount: /dev/cdrom is not a valid block device"
- In reply to: Jean-David Beyer: "Re: determining the smallest Linux installation to run a particular app"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Nico Kadel-Garcia: "Re: Which flavor to chose?"
- Previous message: Nico Kadel-Garcia: "Dissing newbies from "nunya", was Re: mount: /dev/cdrom is not a valid block device"
- In reply to: Jean-David Beyer: "Re: determining the smallest Linux installation to run a particular app"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|