CentOS specificly, is there any rule of thumb about package names when searching for and installing things using yum? I ask, after I finally found the perl/Tk package I needed, but only after trying several incantations of the package name, from the full blown alpha/numeric name to simply perl/Tk. Is it safe to assume when searching or yum'ing a package that just the package name and perhaps up to the release version would apply in a majority of cases?
Many thanks...
On Thu, 20 Oct 2005, Sam Drinkard wrote:
to simply perl/Tk. Is it safe to assume when searching or yum'ing a package that just the package name and perhaps up to the release version would apply in a majority of cases?
Yes. It's usually just the package name.
yum list | grep name
is a favorite. Or
yum list > yum.lst
then
grep <name> yum.lst
if I'm on a slower link.
yum list fragment*
works too (yum list perl*)
------------------------------------------------------------------------ Jim Wildman, CISSP, RHCE jim@rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine
Sam Drinkard wrote:
CentOS specificly, is there any rule of thumb about package names when searching for and installing things using yum? I ask, after I finally found the perl/Tk package I needed, but only after trying several incantations of the package name, from the full blown alpha/numeric name to simply perl/Tk. Is it safe to assume when searching or yum'ing a package that just the package name and perhaps up to the release version would apply in a majority of cases?
Many thanks...
yum search perl-tk
Tim Edwards wrote:
Sam Drinkard wrote:
CentOS specificly, is there any rule of thumb about package names when searching for and installing things using yum? I ask, after I finally found the perl/Tk package I needed, but only after trying several incantations of the package name, from the full blown alpha/numeric name to simply perl/Tk. Is it safe to assume when searching or yum'ing a package that just the package name and perhaps up to the release version would apply in a majority of cases?
Many thanks...
yum search perl-tk
Thanks Tim & Jim.
Sam Drinkard wrote:
Tim Edwards wrote:
Sam Drinkard wrote:
CentOS specificly, is there any rule of thumb about package names when searching for and installing things using yum? I ask, after I finally found the perl/Tk package I needed, but only after trying several incantations of the package name, from the full blown alpha/numeric name to simply perl/Tk. Is it safe to assume when searching or yum'ing a package that just the package name and perhaps up to the release version would apply in a majority of cases?
Many thanks...
yum search perl-tk
Thanks Tim & Jim.
If you know a specific file you're looking for but not necessarily what package it may be in:
yum whatprovides filename
-jim