Chloe K wrote on Tue, 9 Dec 2008 14:50:41 -0500 (EST):
But I am trying to the locate command
but it can't find the package "mlocate"
yum provides locate No Matches found
As you already know the package name (mlocate) - why don't you use it?
You need to "yum provides /path/to/file". As you don't know that path you would use search: "yum search locate" or "yum list" in case you at least know parts of the package name.
This is really all RTFM and RTFW(iki).
Kai