[Linux-users] FC yum
Lonni J Friedman
netllama
Mon Aug 13 09:32:41 PDT 2007
On 8/13/07, Vu Pham <vu at sivell.com> wrote:
> On Sun, 2007-08-12 at 22:09 -0700, Bill Campbell wrote:
> > On Sun, Aug 12, 2007, vu pham wrote:
> > >On Sun, 2007-08-12 at 21:44 -0700, Bill Campbell wrote:
> > >> On Sun, Aug 12, 2007, Lonni J Friedman wrote:
> > >> >yum search $package
> > >>
> > >> This is fine if one knows the package name. Often I've found
> > >> that I know the name of a program or library I want, not what
> > >> package it's in.
> > >>
> > >> My solution to this is that we maintain local mirrors of the
> > >> installation and update directories, and I wrote a script that
> > >> uses ``rpm -qpl $rpmfile'' to extract the component names in the
> > >> script, and build an index that I can grep to find the related
> > >> packages.
> > >>
> > >Bill, could you please explain a little bit more on "maintain local
> > >mirrors of the installation and update directories" ? If this package
> > >has never been installed/updated, how do I know its name ?
> >
> > >For example, I want to install a radius server on my FC7, how do I know
> > >which radius server packages that FC7 has ? In this case, I do not know
> > >the package name.
> >
> > The simplest way is probably to either search the installation media
> > directory or to copy it into a directory on a system. Make a directory,
That really doesn't apply to large distros like Fedora or Debian
variants, as the install media usually only includes a small fraction
of the total number of packages available.
I vaguely remember reading somewhere that for Fedora 7, the install
DVD only has about 30% of packages, since it doesn't include extras.
And once you start adding additional 3rd party yum repos, that
percentage can drop significantly further.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at gmail.com
LlamaLand http://netllama.linux-sxs.org
More information about the Linux-users
mailing list