[Linux-users] FC yum
Vu Pham
vu
Mon Aug 13 09:26:00 PDT 2007
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,
> say /centos/4.5/i386, then mount each CD or DVD image and copy it to that
> directory. One could also do a loopback mount of a DVD iso which wouldn't
> require the disk space.
>
> The RPM packages would then be in /centos/4.5/i386/CentOS/RPMS so a command
> ``ls -1 /centos/4.5/i386/CentOS/RPMS/*radius*'' would give you a list of
> the freeradius RPMs available.
Thanks. I have been doing this except that I do not have a local
copy/mount of the DVD so sometimes I do not know what the exact package
name is. Using search option as Lonnie suggests solves this problem.
>
> BTW: We've been using freeradius for since 1998 or so with no problems.
Thanks for the info. I start using freeradius for a client and glad to
know it works withot problem.
Vu
More information about the Linux-users
mailing list