[Linux-users] FC yum
Tim Wunder
tim
Sun Aug 12 22:22:33 PDT 2007
On Monday 13 August 2007 1:09:55 am 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.
>
> BTW: We've been using freeradius for since 1998 or so with no problems.
>
Or, you could type 'yum search radius|more' and find out the packages that
have "radius" in their descriptions.
You do not need to know a package name to get useful results from a yum
search.
Tim
--
Fedora Core release 6 (Zod), Linux 2.6.20-1.2962.fc6
KDE: 3.5.7-9.fc6 Fedora
01:15:01 up 29 days, 12:06, 4 users, load average: 1.57, 1.42, 1.15
"It's what you learn after you know it all that counts" John Wooden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20070813/1860f120/attachment.pgp
More information about the Linux-users
mailing list